[TSan] Intercept __tls_get_addr_internal and __tls_get_offset on SystemZ
authorIlya Leoshkevich <iii@linux.ibm.com>
Fri, 2 Jul 2021 14:59:32 +0000 (16:59 +0200)
committerIlya Leoshkevich <iii@linux.ibm.com>
Thu, 15 Jul 2021 10:18:48 +0000 (12:18 +0200)
commitbd77f742d656afa20faf9ce79b552e1ded4af5e5
treec41903f5ab3785e7259a26d7bd6262c5d35d8032
parentb17673816d7f65e07015489993b22049e36b04db
[TSan] Intercept __tls_get_addr_internal and __tls_get_offset on SystemZ

Reuse the assembly glue code from sanitizer_common_interceptors.inc and
the handling logic from the __tls_get_addr interceptor.

Reviewed By: dvyukov

Differential Revision: https://reviews.llvm.org/D105629
compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp