[llvm-branch-commits] [compiler-rt] [compiler-rt] Add 'csan' library for the concurrency sanitizer (PR #225782)

Yaxun Liu via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Sep 24 07:33:03 PDT 2026


================
@@ -897,6 +897,15 @@ else()
   set(COMPILER_RT_HAS_UBSAN FALSE)
 endif()
 
+if ((COMPILER_RT_HAS_SANITIZER_COMMON AND UBSAN_SUPPORTED_ARCH AND
----------------
yxsamliu wrote:

Could we avoid using `UBSAN_SUPPORTED_ARCH` here? CSan support is narrower, so this may configure `check-csan` on targets where Clang rejects `-fsanitize=concurrency`, such as AArch64. Please use CSan-specific architecture lists and separate host and AMDGPU support if needed.

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


More information about the llvm-branch-commits mailing list