diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2016-06-02 19:18:22 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2016-06-02 19:18:22 +0000 |
commit | b31140f70c0b8c85cb6aef6623a123da5f2c666f (patch) | |
tree | 6af0e95a3994e3bf67e6d8450af245b58a223763 /test/profile/instrprof-icall-promo.test | |
parent | a2e782d69b1919336711eabe42eee6ac3ae60641 (diff) |
tsan: clean up dynamic TLS memory between reuse
Currently the added test produces false race reports with glibc 2.19,
because DLTS memory is reused by pthread under the hood.
Use the DTLS machinery to intercept new DTLS ranges.
__tls_get_addr known to cause issues for tsan in the past,
so write the interceptor more carefully.
Reviewed in http://reviews.llvm.org/D20927
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@271568 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/profile/instrprof-icall-promo.test')
0 files changed, 0 insertions, 0 deletions