malloc_debug: Also print stack traces when dumping guarded heap.
This commit is contained in:
parent
607ac916de
commit
e26a4e7b7a
@ -1023,8 +1023,11 @@ heap_debug_dump_heaps(bool dumpAreas, bool dumpBins)
|
||||
if (!dumpBins)
|
||||
continue;
|
||||
|
||||
for (size_t i = 0; i < area->page_count; i++)
|
||||
for (size_t i = 0; i < area->page_count; i++) {
|
||||
dump_guarded_heap_page(area->pages[i]);
|
||||
if ((area->pages[i].flags & GUARDED_HEAP_PAGE_FLAG_FIRST) != 0)
|
||||
guarded_heap_print_stack_traces(area->pages[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user