aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2020-06-16 13:45:07 +0200
committerIlya Leoshkevich <iii@linux.ibm.com>2020-06-16 13:45:29 +0200
commitccd8b7b103470beb79140ecf9d6ccfaddf7fbc11 (patch)
tree9a9a58cfd1f1ed5b211534f4f5961e93c4ee632b /compiler-rt/test/lsan/lit.common.cfg.py
parent[ARM] Fix crash trying to generate i1 immediates (diff)
downloadllvm-project-ccd8b7b103470beb79140ecf9d6ccfaddf7fbc11.tar.gz
llvm-project-ccd8b7b103470beb79140ecf9d6ccfaddf7fbc11.tar.bz2
llvm-project-ccd8b7b103470beb79140ecf9d6ccfaddf7fbc11.zip
[LSan] Enable for SystemZ
Summary: Add runtime support, adjust the tests and enable LSan. Reviewers: vitalybuka, eugenis, uweigand, jonpa Reviewed By: uweigand Subscribers: mgorny, cfe-commits, #sanitizers Tags: #clang, #sanitizers Differential Revision: https://reviews.llvm.org/D78644
Diffstat (limited to 'compiler-rt/test/lsan/lit.common.cfg.py')
-rw-r--r--compiler-rt/test/lsan/lit.common.cfg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/test/lsan/lit.common.cfg.py b/compiler-rt/test/lsan/lit.common.cfg.py
index 208d9f92eeb0..6b699b274c63 100644
--- a/compiler-rt/test/lsan/lit.common.cfg.py
+++ b/compiler-rt/test/lsan/lit.common.cfg.py
@@ -69,8 +69,8 @@ config.substitutions.append( ("%clangxx ", build_invocation(clang_cxxflags)) )
config.substitutions.append( ("%clang_lsan ", build_invocation(clang_lsan_cflags)) )
config.substitutions.append( ("%clangxx_lsan ", build_invocation(clang_lsan_cxxflags)) )
-# LeakSanitizer tests are currently supported on x86-64 Linux, PowerPC64 Linux, arm Linux, mips64 Linux, and x86_64 Darwin.
-supported_linux = config.host_os == 'Linux' and config.host_arch in ['x86_64', 'ppc64', 'ppc64le', 'mips64', 'arm', 'armhf', 'armv7l']
+# LeakSanitizer tests are currently supported on x86-64 Linux, PowerPC64 Linux, arm Linux, mips64 Linux, s390x Linux and x86_64 Darwin.
+supported_linux = config.host_os is 'Linux' and config.host_arch in ['x86_64', 'ppc64', 'ppc64le', 'mips64', 'arm', 'armhf', 'armv7l', 's390x']
supported_darwin = config.host_os == 'Darwin' and config.target_arch in ['x86_64']
supported_netbsd = config.host_os == 'NetBSD' and config.target_arch in ['x86_64', 'i386']
if not (supported_linux or supported_darwin or supported_netbsd):