This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
DEBUG_LEAKING_SCALARS: add sv_debug_parent
authorDavid Mitchell <davem@iabyn.com>
Sun, 1 Aug 2010 12:20:15 +0000 (13:20 +0100)
committerDavid Mitchell <davem@iabyn.com>
Sun, 1 Aug 2010 20:47:30 +0000 (21:47 +0100)
commitcd6765485c511c7626564977066567e876af6644
tree18f90ff7bc08ef8606de234de93a17a13567cac7
parente71b8a62048b820e9c251e89453b297934a0f89c
DEBUG_LEAKING_SCALARS: add sv_debug_parent

Rather than just recording whether an SV was cloned (sv->sv_debug_cloned),
record the address of the SV we were cloned from.
dump.c
perl.c
sv.c
sv.h