diff options
Diffstat (limited to 'libc/malloc_debug/DebugData.h')
-rw-r--r-- | libc/malloc_debug/DebugData.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/malloc_debug/DebugData.h b/libc/malloc_debug/DebugData.h index 13bba48df..e81bf404e 100644 --- a/libc/malloc_debug/DebugData.h +++ b/libc/malloc_debug/DebugData.h @@ -98,3 +98,9 @@ class DebugData { }; extern DebugData* g_debug; + +// The minimum and maximum allocation sizes +// for which backtrace will be recorded. +// They default to 0 and SIZE_MAX respectively +extern size_t g_min_alloc_to_record; +extern size_t g_max_alloc_to_record; |