diff options
author | Tobias Guggenmos <tguggenm@redhat.com> | 2019-09-07 15:32:06 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-10-03 12:17:33 -0400 |
commit | 47386fe85a412c8aa35f6bcbce0d41f0eed03b65 (patch) | |
tree | eb269c7dd0f13ee5803d22a6bd5009596bcda17b /rts/Trace.h | |
parent | ee6324adfed737fbf9ca3c36538145542b425617 (diff) | |
download | haskell-47386fe85a412c8aa35f6bcbce0d41f0eed03b65.tar.gz |
Add new debug flag -DZ
Zeros heap memory after gc freed it.
Diffstat (limited to 'rts/Trace.h')
-rw-r--r-- | rts/Trace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/Trace.h b/rts/Trace.h index 9985adc52f..d3bb226000 100644 --- a/rts/Trace.h +++ b/rts/Trace.h @@ -52,6 +52,7 @@ enum CapsetType { CapsetTypeCustom = CAPSET_TYPE_CUSTOM, #define DEBUG_gc RtsFlags.DebugFlags.gc #define DEBUG_block_alloc RtsFlags.DebugFlags.alloc #define DEBUG_sanity RtsFlags.DebugFlags.sanity +#define DEBUG_zero_on_gc RtsFlags.DebugFlags.zero_on_gc #define DEBUG_stable RtsFlags.DebugFlags.stable #define DEBUG_stm RtsFlags.DebugFlags.stm #define DEBUG_prof RtsFlags.DebugFlags.prof |