Skip to content

Commit b24ad98

Browse files
authored
[sanitizer_common] Disable SanitizerCommon lsan tests on Apple arm64 (llvm#151929)
There is an issue tracking lsan incompatibility on these platforms: llvm#131678. Many of these tests are currently failing and creating CI noise. rdar://157252316
1 parent 4077e66 commit b24ad98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler-rt/test/sanitizer_common/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,10 @@ foreach(tool ${SUPPORTED_TOOLS})
8989
${CMAKE_CURRENT_BINARY_DIR}/${CONFIG_NAME}/lit.site.cfg.py)
9090
# FIXME(dliew): LSan i386 on Darwin is completely broken right now.
9191
# so don't run the tests by default.
92+
# Tests fail on arm64, see https://github.com/llvm/llvm-project/issues/131678
9293
if (NOT (CMAKE_SYSTEM_NAME MATCHES "Darwin" AND
9394
${tool} STREQUAL "lsan" AND
94-
${arch} STREQUAL "i386"))
95+
(${arch} STREQUAL "i386" OR ${arch} MATCHES "arm64")))
9596
list(APPEND SANITIZER_COMMON_TESTSUITES
9697
${CMAKE_CURRENT_BINARY_DIR}/${CONFIG_NAME})
9798
endif()

0 commit comments

Comments
 (0)