diff options
author | Francis Ricci <francisjricci@gmail.com> | 2017-05-12 15:10:05 +0000 |
---|---|---|
committer | Francis Ricci <francisjricci@gmail.com> | 2017-05-12 15:10:05 +0000 |
commit | 47c47778c3ba54cd5190e4630ae517be78842676 (patch) | |
tree | 08d44fe4f617806f579ba035e0140b724aa35ac1 /test/lsan | |
parent | 508f038326752ed694ea9ae0daf75ddf540ddd3d (diff) |
Enable lsan test suite on Darwin x86_64 builds
Reviewers: kubamracek, alekseyshl
Subscribers: mgorny, llvm-commits
Differential Revision: https://reviews.llvm.org/D32191
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@302904 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lsan')
-rw-r--r-- | test/lsan/lit.common.cfg | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/lsan/lit.common.cfg b/test/lsan/lit.common.cfg index da439d4c0..309e8f27b 100644 --- a/test/lsan/lit.common.cfg +++ b/test/lsan/lit.common.cfg @@ -67,9 +67,10 @@ 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, and mips64 Linux only. +# LeakSanitizer tests are currently supported on x86-64 Linux, PowerPC64 Linux, arm Linux, mips64 Linux, and x86_64 Darwin. supported_linux = config.host_os is 'Linux' and config.host_arch in ['x86_64', 'ppc64', 'mips64', 'arm', 'armhf', 'armv7l'] -if not (supported_linux): +supported_darwin = config.host_os is 'Darwin' and config.target_arch is 'x86_64' +if not (supported_linux or supported_darwin): config.unsupported = True # Don't support Thumb due to broken fast unwinder |