diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2021-07-22 15:51:56 +0200 |
---|---|---|
committer | Ilya Leoshkevich <iii@linux.ibm.com> | 2021-07-28 13:03:32 +0200 |
commit | ea22954e7c580d1e54da4ac58301f65d5cf5f76a (patch) | |
tree | 3488b47d33630776150580a266368f476ec6fb8c /libsanitizer | |
parent | b662250c1f5e0e453f1fd6022cc47e517f70fa8e (diff) |
IBM Z: Enable LSan and TSan
libsanitizer/ChangeLog:
* configure.tgt (s390*-*-linux*): Enable LSan and TSan for
s390x.
Diffstat (limited to 'libsanitizer')
-rw-r--r-- | libsanitizer/configure.tgt | 5 |
1 files changed, 5 insertions, 0 deletions
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*) ;; |