diff options
author | Dan Albert <danalbert@google.com> | 2017-07-12 13:47:42 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2017-07-12 13:47:42 -0700 |
commit | 1a8b7f2d1ca7c605e8e0e6a707a8c4bc9839dcda (patch) | |
tree | 865093640ef73c41a8d8aa98423e83107f2d60e0 /libc/malloc_debug/malloc_debug.cpp | |
parent | e2fd01035ba85b906dbf0e6b6112b7f8ff52beef (diff) |
Add a non-TLS slot implementation of locale.cpp.
libandroid_support shouldn't be using Bionic's TLS slot. Add a
thread_local based implementation. We can't use the thread_local
implementation in bionic because the linker needs this and pthread
thread-locals (which is how thread_local is implemented) doesn't work
that early.
Test: make checkbuild
Test: adb shell /data/nativetest/bionic-unit-tests/bionic-unit-tests
Bug: https://github.com/android-ndk/ndk/issues/300
Change-Id: I7dcbf554ade2264d541d722fa3f86df04926e67a
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions