summaryrefslogtreecommitdiff
path: root/embedvar.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-02-04 19:09:17 +0000
committerNicholas Clark <nick@ccl4.org>2006-02-04 19:09:17 +0000
commit7cb608b5fc09aa914d5f91646e40ed772b6bac01 (patch)
treed87bee4dbd1d4300ece1a4a3ecc9d640f43495ed /embedvar.h
parentd79395463b4ec08db7bfe67c427a8c654b5904d6 (diff)
downloadperl-7cb608b5fc09aa914d5f91646e40ed772b6bac01.tar.gz
Enhance PERL_TRACK_MEMPOOL so that it also emulates the PerlHost
behaviour of freeing up all memory at thread exit. With this and tools such as valgrind you will now get warnings as soon as you read from the deallocated memory, rather than just a warning much later about freeing to the wrong pool. p4raw-id: //depot/perl@27084
Diffstat (limited to 'embedvar.h')
-rw-r--r--embedvar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/embedvar.h b/embedvar.h
index f2e09eb963..022dce8c80 100644
--- a/embedvar.h
+++ b/embedvar.h
@@ -304,6 +304,7 @@
#define PL_max_intro_pending (vTHX->Imax_intro_pending)
#define PL_maxo (vTHX->Imaxo)
#define PL_maxsysfd (vTHX->Imaxsysfd)
+#define PL_memory_debug_header (vTHX->Imemory_debug_header)
#define PL_mess_sv (vTHX->Imess_sv)
#define PL_min_intro_pending (vTHX->Imin_intro_pending)
#define PL_minus_E (vTHX->Iminus_E)
@@ -584,6 +585,7 @@
#define PL_Imax_intro_pending PL_max_intro_pending
#define PL_Imaxo PL_maxo
#define PL_Imaxsysfd PL_maxsysfd
+#define PL_Imemory_debug_header PL_memory_debug_header
#define PL_Imess_sv PL_mess_sv
#define PL_Imin_intro_pending PL_min_intro_pending
#define PL_Iminus_E PL_minus_E