[compiler-rt] [sanitizer_common] Disable SanitizerCommon lsan tests on Apple arm64 (PR #151929)
Dan Blackwell via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 4 02:33:55 PDT 2025
https://github.com/DanBlackwell created https://github.com/llvm/llvm-project/pull/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
>From 0b9a011e5c28f1492c6ece78b6715b92e66bfa42 Mon Sep 17 00:00:00 2001
From: Dan Blackwell <dan_blackwell at apple.com>
Date: Mon, 4 Aug 2025 10:30:39 +0100
Subject: [PATCH] [sanitizer_common] Disable SanitizerCommon lsan tests on
Apple arm64
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.
---
compiler-rt/test/sanitizer_common/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler-rt/test/sanitizer_common/CMakeLists.txt b/compiler-rt/test/sanitizer_common/CMakeLists.txt
index 615666676f57a..e455092a98875 100644
--- a/compiler-rt/test/sanitizer_common/CMakeLists.txt
+++ b/compiler-rt/test/sanitizer_common/CMakeLists.txt
@@ -91,7 +91,7 @@ foreach(tool ${SUPPORTED_TOOLS})
# so don't run the tests by default.
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