summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorMarcus Holland-Moritz <mhx-perl@gmx.net>2008-10-22 03:37:31 +0200
committerDavid Mitchell <davem@iabyn.com>2009-01-02 22:57:52 +0000
commit9bf99207d9b2b21d9aeb739fac62871b4e60c093 (patch)
tree6fe61e7d97300f3a59101b792237254b25ec0916 /sv.h
parent59bdd96c3345405cb65a859a1118b147b0e16d82 (diff)
downloadperl-9bf99207d9b2b21d9aeb739fac62871b4e60c093.tar.gz
Add SV allocation tracing to -Dm and PERL_MEM_LOG
Message-ID: <20081022013731.23b5a2e5@r2d2> p4raw-id: //depot/perl@34568 (cherry-picked from d7a2c63ca1dd960ced99dbacbd31f848d2ffa77f)
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sv.h b/sv.h
index 6647a425c5..2604dc5241 100644
--- a/sv.h
+++ b/sv.h
@@ -117,6 +117,7 @@ struct STRUCT_SV { /* struct sv { */
unsigned sv_debug_inpad:1; /* was allocated in a pad for an OP */
unsigned sv_debug_cloned:1; /* was cloned for an ithread */
unsigned sv_debug_line:16; /* the line where we were allocated */
+ U32 sv_debug_serial; /* serial number of sv allocation */
char * sv_debug_file; /* the file where we were allocated */
#endif
};