6c619a0da3
malloc_info needs to be per native allocator, but the code treated it
like a global function that doesn't depend on the native memory allocator.
Update malloc debug to dump the actual pointers that it has been tracking.
Test: bionic-unit-tests pass.
Test: malloc debug tests pass.
Test: malloc hook tests pass.
Change-Id: I3b0d4d748489dd84c16d16933479dc8b8d79013e
Merged-In: I3b0d4d748489dd84c16d16933479dc8b8d79013e
(cherry picked from commit a3656a98b1
)
27 lines
544 B
Text
27 lines
544 B
Text
LIBC_MALLOC_DEBUG {
|
|
global:
|
|
debug_aligned_alloc;
|
|
debug_calloc;
|
|
debug_dump_heap;
|
|
debug_finalize;
|
|
debug_free;
|
|
debug_free_malloc_leak_info;
|
|
debug_get_malloc_leak_info;
|
|
debug_initialize;
|
|
debug_iterate;
|
|
debug_mallinfo;
|
|
debug_malloc;
|
|
debug_malloc_backtrace;
|
|
debug_malloc_disable;
|
|
debug_malloc_enable;
|
|
debug_malloc_info;
|
|
debug_malloc_usable_size;
|
|
debug_mallopt;
|
|
debug_memalign;
|
|
debug_posix_memalign;
|
|
debug_realloc;
|
|
debug_write_malloc_leak_info;
|
|
|
|
local:
|
|
*;
|
|
};
|