diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2019-11-19 13:58:06 -0800 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2019-11-20 11:30:58 -0800 |
commit | f751a79173958526b8e8793d4e4c84b2d33dc662 (patch) | |
tree | 7d1fa79f3338a09fff8505573afa504efd8a0c00 /clang/test/Sema/assign-null.c | |
parent | a9bb669e59f4b2270caa8a35128ca3b2de0595fe (diff) | |
download | bcm5719-llvm-f751a79173958526b8e8793d4e4c84b2d33dc662.tar.gz bcm5719-llvm-f751a79173958526b8e8793d4e4c84b2d33dc662.zip |
scudo: Only use the Android reserved TLS slot when building libc's copy of the allocator.
When we're not building libc's allocator, just use a regular TLS variable. This
lets the unit tests pass on Android devices whose libc uses Scudo. Otherwise
libc's copy of Scudo and the unit tests' copy will both try to use the same
TLS slot, in likely incompatible ways.
This requires using ELF TLS, so start passing -fno-emulated-tls when building
the library and the unit tests on Android.
Differential Revision: https://reviews.llvm.org/D70472
Diffstat (limited to 'clang/test/Sema/assign-null.c')
0 files changed, 0 insertions, 0 deletions