Skip to content

Commit 00f22dc

Browse files
author
git apple-llvm automerger
committed
Merge commit 'fe84acba00da' from apple/stable/20190619 into swift/master
2 parents 3efa504 + fe84acb commit 00f22dc

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
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

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,9 @@ if config.host_os not in ['Linux', 'Darwin', 'NetBSD', 'FreeBSD']:
7373

7474
if not config.parallelism_group:
7575
config.parallelism_group = 'shadow-memory'
76+
77+
# Apple-internal: Disable LSan sanitizer_common tests
78+
# because AppleClang doesn't support LSan (rdar://problem/47381908).
79+
if config.tool_name == 'lsan' and config.host_os == 'Darwin':
80+
lit_config.note('LSan sanitizer_common tests disabled')
81+
config.unsupported = True

0 commit comments

Comments
 (0)