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

Julian Lettner via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 4 10:27:43 PDT 2025


================
@@ -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")))
----------------
yln wrote:

Nit: add comment referencing the issue you mentioned: #131678

I think this would be useful in both directions:
* Folks reading this code can lookup the explanation for disablement
* If the issue is fixed, having a breadcrumb here increases the chance that these tests are re-enabled

https://github.com/llvm/llvm-project/pull/151929


More information about the llvm-commits mailing list