Hide __libc_malloc_dispatch.
Now that -Bsymbolic is fixed, we can hide __libc_malloc_dispatch without breaking ASAN. Bug: 11156955 Change-Id: Ia2fc9b046a74e666b33aa6c6c5435f70a63b8021
This commit is contained in:
parent
72d7e667c7
commit
d332bc6878
@ -81,8 +81,7 @@ static const MallocDebug __libc_malloc_default_dispatch __attribute__((aligned(3
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Selector of dispatch table to use for dispatching malloc calls.
|
// Selector of dispatch table to use for dispatching malloc calls.
|
||||||
// TODO: fix http://b/15432753 and make this static again.
|
static const MallocDebug* __libc_malloc_dispatch = &__libc_malloc_default_dispatch;
|
||||||
const MallocDebug* __libc_malloc_dispatch = &__libc_malloc_default_dispatch;
|
|
||||||
|
|
||||||
// Handle to shared library where actual memory allocation is implemented.
|
// Handle to shared library where actual memory allocation is implemented.
|
||||||
// This library is loaded and memory allocation calls are redirected there
|
// This library is loaded and memory allocation calls are redirected there
|
||||||
|
Loading…
x
Reference in New Issue
Block a user