[compiler-rt] b24ad98 - [sanitizer_common] Disable SanitizerCommon lsan tests on Apple arm64 (#151929)

via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 6 02:09:02 PDT 2025


Author: Dan Blackwell
Date: 2025-08-06T10:08:57+01:00
New Revision: b24ad98caa7cdc48ed9034310c8876811d6e52aa

URL: https://github.com/llvm/llvm-project/commit/b24ad98caa7cdc48ed9034310c8876811d6e52aa
DIFF: https://github.com/llvm/llvm-project/commit/b24ad98caa7cdc48ed9034310c8876811d6e52aa.diff

LOG: [sanitizer_common] Disable SanitizerCommon lsan tests on Apple arm64 (#151929)

There is an issue tracking lsan incompatibility on these platforms:
https://github.com/llvm/llvm-project/issues/131678. Many of these tests
are currently failing and creating CI noise.

rdar://157252316

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/sanitizer_common/CMakeLists.txt b/compiler-rt/test/sanitizer_common/CMakeLists.txt
index 615666676f57a..7596e2005a3b5 100644
--- a/compiler-rt/test/sanitizer_common/CMakeLists.txt
+++ b/compiler-rt/test/sanitizer_common/CMakeLists.txt
@@ -89,9 +89,10 @@ foreach(tool ${SUPPORTED_TOOLS})
       ${CMAKE_CURRENT_BINARY_DIR}/${CONFIG_NAME}/lit.site.cfg.py)
     # FIXME(dliew): LSan i386 on Darwin is completely broken right now.
     # so don't run the tests by default.
+    # Tests fail on arm64, see https://github.com/llvm/llvm-project/issues/131678
     if (NOT (CMAKE_SYSTEM_NAME MATCHES "Darwin" AND
              ${tool} STREQUAL "lsan" AND
-             ${arch} STREQUAL "i386"))
+             (${arch} STREQUAL "i386" OR ${arch} MATCHES "arm64")))
       list(APPEND SANITIZER_COMMON_TESTSUITES
            ${CMAKE_CURRENT_BINARY_DIR}/${CONFIG_NAME})
     endif()


        


More information about the llvm-commits mailing list