summaryrefslogtreecommitdiff
path: root/test/cfi
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2017-10-13 20:55:31 +0000
committerKostya Kortchinsky <kostyak@google.com>2017-10-13 20:55:31 +0000
commite972b4cb282b92b0c15356660c4a95593066ef8c (patch)
tree8b947d7341e5ac451b910e8fc0e2514351059879 /test/cfi
parentcb11821c26e019476a12f31757083c2cde4f3262 (diff)
[scudo] Allow for non-Android Shared TSD platforms, part 2
Summary: Follow up to D38826. We introduce `pthread_{get,set}specific` versions of `{get,set}CurrentTSD` to allow for non Android platforms to use the Shared TSD model. We now allow `SCUDO_TSD_EXCLUSIVE` to be defined at compile time. A couple of things: - I know that `#if SANITIZER_ANDROID` is not ideal within a function, but in the end I feel it looks more compact and clean than going the .inc route; I am open to an alternative if anyone has one; - `SCUDO_TSD_EXCLUSIVE=1` requires ELF TLS support (and not emutls as this uses malloc). I haven't found anything to enforce that, so it's currently not checked. Reviewers: alekseyshl Reviewed By: alekseyshl Subscribers: srhines, llvm-commits Differential Revision: https://reviews.llvm.org/D38854 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@315751 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/cfi')
0 files changed, 0 insertions, 0 deletions