Skip to content

Commit fe84acb

Browse files
danliew-applehyp
authored andcommitted
Disable running LSan tests on Darwin due the recent changes
to the Clang driver in apple/swift-clang#249. This is necessary because the standalone LSan tests will be executed and will fail without this patch when using the newer Clang. rdar://problem/45841334 apple-llvm-split-commit: 56b645581726e29691a47fec4e2adbb18e7b09e4 apple-llvm-split-dir: compiler-rt/
1 parent 286806f commit fe84acb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

compiler-rt/test/lsan/lit.common.cfg

+5
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,8 @@ if re.search('mthumb', config.target_cflags) is not None:
7878
config.unsupported = True
7979

8080
config.suffixes = ['.c', '.cc', '.cpp', '.mm']
81+
82+
# Apple-Clang: Disable LSan
83+
if config.host_os == 'Darwin':
84+
lit_config.note('Disabling LSan tests on Darwin')
85+
config.unsupported = True

0 commit comments

Comments
 (0)