Skip to content

Commit 286806f

Browse files
danliew-applehyp
authored andcommitted
Disable LSan sanitizer_common tests due to AppleClang not supporting
LSan (rdar://problem/45841334). rdar://problem/47381908 apple-llvm-split-commit: 9353cee1fed01cfac83294b746dd99f11454e3e2 apple-llvm-split-dir: compiler-rt/
1 parent 57755b1 commit 286806f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

+6
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)