scudo: Update TLS_SLOT_SANITIZER value.
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 18 Oct 2019 20:00:32 +0000 (20:00 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 18 Oct 2019 20:00:32 +0000 (20:00 +0000)
commitcf25242daaf876085f6f665c26fa3aa3cd502040
tree989da35e27f76f801cbdf516aaf791292785380f
parent788acc6ff8ee3b2fc16a3f68179b0b445f6f4381
scudo: Update TLS_SLOT_SANITIZER value.

Android now allocates only 8 fixed TLS slots. Somehow we were getting away
with using a non-existent slot until now, but in some cases the TLS slots
were being placed at the end of a page, which led to a segfault at startup.

Differential Revision: https://reviews.llvm.org/D69191

llvm-svn: 375276
compiler-rt/lib/scudo/standalone/linux.h