diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-10-23 17:52:22 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-10-23 17:52:22 +0000 |
commit | 3a1720af1d7f43edc5b214cde0be11bfb94d077e (patch) | |
tree | 029e0ff2d5e3c0eaf2405fd8e669555fdf5e1297 /lib/scudo/standalone/linux.h | |
parent | 8f3cadc28cb2bb9e8f9d69eeaaea1f57f2f7b2ab (diff) |
Notes
Diffstat (limited to 'lib/scudo/standalone/linux.h')
-rw-r--r-- | lib/scudo/standalone/linux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scudo/standalone/linux.h b/lib/scudo/standalone/linux.h index 92c9eb5e97ee..c8e41484c851 100644 --- a/lib/scudo/standalone/linux.h +++ b/lib/scudo/standalone/linux.h @@ -55,7 +55,7 @@ struct MapPlatformData {}; // The Android Bionic team has allocated a TLS slot for sanitizers starting // with Q, given that Android currently doesn't support ELF TLS. It is used to // store sanitizer thread specific data. -static const int TLS_SLOT_SANITIZER = 8; // TODO(kostyak): 6 for Q!! +static const int TLS_SLOT_SANITIZER = 6; ALWAYS_INLINE uptr *getAndroidTlsPtr() { return reinterpret_cast<uptr *>(&__get_tls()[TLS_SLOT_SANITIZER]); |