platform_bionic/tests
Elliott Hughes 5419b94747 Make dlerror(3) thread-safe.
I gave up trying to use the usual thread-local buffer idiom; calls to
calloc(3) and free(3) from any of the "dl" functions -- which live in
the dynamic linker -- end up resolving to the dynamic linker's stubs.
I tried to work around that, but was just making things more complicated.
This alternative costs us a well-known TLS slot (instead of the
dynamically-allocated TLS slot we'd have used otherwise, so no difference
there), plus an extra buffer inside every pthread_internal_t.

Bug: 5404023
Change-Id: Ie9614edd05b6d1eeaf7bf9172792d616c6361767
2012-10-16 17:58:17 -07:00
..
Android.mk Upgrade to the current NetBSD rand implementation. 2012-10-01 13:53:41 -07:00
dlopen_test.cpp Make dlerror(3) thread-safe. 2012-10-16 17:58:17 -07:00
getcwd_test.cpp Enhance getcwd(3) to handle NULL like glibc. 2012-08-16 15:59:12 -07:00
pthread_test.cpp Add more pthreads tests. 2012-09-07 16:47:54 -07:00
regex_test.cpp Switch to the current NetBSD regex implementation. 2012-08-15 15:39:11 -07:00
stdio_test.cpp Add getdelim(3) and getline(3) to bionic 2012-09-27 11:38:57 -07:00
stdlib_test.cpp Upgrade to the current NetBSD rand implementation. 2012-10-01 13:53:41 -07:00
string_test.cpp Make dlerror(3) thread-safe. 2012-10-16 17:58:17 -07:00
stubs_test.cpp Fix several compiler warnings. 2012-09-26 14:20:22 -07:00