public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-2560] IBM Z: Enable LSan and TSan
@ 2021-07-28 11:03 Ilya Leoshkevich
0 siblings, 0 replies; only message in thread
From: Ilya Leoshkevich @ 2021-07-28 11:03 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:ea22954e7c580d1e54da4ac58301f65d5cf5f76a
commit r12-2560-gea22954e7c580d1e54da4ac58301f65d5cf5f76a
Author: Ilya Leoshkevich <iii@linux.ibm.com>
Date: Thu Jul 22 15:51:56 2021 +0200
IBM Z: Enable LSan and TSan
libsanitizer/ChangeLog:
* configure.tgt (s390*-*-linux*): Enable LSan and TSan for
s390x.
Diff:
---
libsanitizer/configure.tgt | 5 +++++
1 file changed, 5 insertions(+)
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*)
;;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-28 11:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-28 11:03 [gcc r12-2560] IBM Z: Enable LSan and TSan Ilya Leoshkevich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).