mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
Android's libc includes advertise a "malloc_usable_size", but the
libc.so contains no such symbol; rather a "dlmalloc_usable_size" (great, huh :-) So intercept that too, on Android. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12498
This commit is contained in:
parent
cfd1bdd20b
commit
5fd4b24eef
@ -863,6 +863,9 @@ static void init(void);
|
||||
#if defined(VGO_linux)
|
||||
MALLOC_USABLE_SIZE(VG_Z_LIBC_SONAME, malloc_usable_size);
|
||||
MALLOC_USABLE_SIZE(VG_Z_LIBC_SONAME, malloc_size);
|
||||
# if defined(VGPV_arm_linux_android)
|
||||
MALLOC_USABLE_SIZE(VG_Z_LIBC_SONAME, dlmalloc_usable_size);
|
||||
# endif
|
||||
|
||||
#elif defined(VGO_darwin)
|
||||
//MALLOC_USABLE_SIZE(VG_Z_LIBC_SONAME, malloc_usable_size);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user