Message ID | 20210727200408.120907-1-iii@linux.ibm.com |
---|---|
State | New |
Headers | show |
Series | IBM Z: Enable LSan and TSan | expand |
On 7/27/21 10:04 PM, Ilya Leoshkevich via Gcc-patches wrote: > Bootstrapped and regtested on s390x-redhat-linux. Ok for master? > > libsanitizer/ChangeLog: > > * configure.tgt (s390*-*-linux*): Enable LSan and TSan for > s390x. Ok. Thanks! Andreas
diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt index 0ca5d9fd924..f635e412bdc 100644 --- a/libsanitizer/configure.tgt +++ b/libsanitizer/configure.tgt @@ -41,6 +41,11 @@ case "${target}" in sparc*-*-linux*) ;; s390*-*-linux*) + if test x$ac_cv_sizeof_void_p = x8; then + TSAN_SUPPORTED=yes + LSAN_SUPPORTED=yes + TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_s390x.lo + fi ;; sparc*-*-solaris2.11*) ;;