summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ParallelCG.cpp
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2017-05-02 15:13:36 +0000
committerKostya Kortchinsky <kostyak@google.com>2017-05-02 15:13:36 +0000
commit7fc481e561398d91a9774a8695cbdc9a7bdc3ae1 (patch)
tree165b4b404e8b95089d505acb4752d7f79e87aa54 /llvm/lib/CodeGen/ParallelCG.cpp
parent6c3d19ba454c35f131260b2758f62fbf17f7d0d9 (diff)
downloadbcm5719-llvm-7fc481e561398d91a9774a8695cbdc9a7bdc3ae1.tar.gz
bcm5719-llvm-7fc481e561398d91a9774a8695cbdc9a7bdc3ae1.zip
[compiler-rt] move tsan's Android __get_tls() to sanitizer_common
Summary: TSan's Android `__get_tls()` and `TLS_SLOT_TSAN` can be used by other sanitizers as well (see D32649), this change moves them to sanitizer_common. I picked sanitizer_linux.h as their new home. In the process, add the 32-bit versions for ARM, i386 & MIPS. Can the address of `__get_tls()[TLS_SLOT_TSAN]` change in between the calls? I am not sure if there is a need to repeat the construct as opposed to using a variable. So I left things as they were. Testing on my side was restricted to a successful cross-compilation. Reviewers: dvyukov, kubamracek Reviewed By: dvyukov Subscribers: aemerson, rengolin, srhines, dberris, arichardson, llvm-commits Differential Revision: https://reviews.llvm.org/D32705 llvm-svn: 301926
Diffstat (limited to 'llvm/lib/CodeGen/ParallelCG.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud