052fa3a34c
When enabling debug malloc, the snprintf calls in the linker fails to
update the buffer.
The problem is that snprintf makes a call to pthread_getspecific that
returns a valid pointer, but the data it points to is zero. This should
never happen and causes the snprintf to stop and do nothing.
Temporarily replace snprintf with a different implementation to work
around this issue.
Bug: 16874447
Bug: 17302493
(cherry pick from commit
|
||
---|---|---|
.. | ||
arch | ||
tests | ||
Android.mk | ||
MODULE_LICENSE_APACHE2 | ||
NOTICE | ||
debugger.cpp | ||
dlfcn.cpp | ||
linked_list.h | ||
linker.cpp | ||
linker.h | ||
linker_allocator.cpp | ||
linker_allocator.h | ||
linker_debug.h | ||
linker_environ.cpp | ||
linker_environ.h | ||
linker_executable.mk | ||
linker_libc_support.c | ||
linker_phdr.cpp | ||
linker_phdr.h | ||
rt.cpp |