[llvm-branch-commits] [clang] [Clang] Add support for the `-fsanitize=concurrency` runtime (PR #225781)
Yaxun Liu via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Sep 24 05:05:44 PDT 2026
================
@@ -1391,6 +1391,8 @@ SanitizerMask AMDGPUToolChain::getSupportedSanitizers(
// arch xnack support.
if (!BA || isXnackAvailable(getTriple(), BA.ArchName))
SupportedMask |= SanitizerKind::Address;
+ // Watchpoint probes do not require xnack.
+ SupportedMask |= SanitizerKind::Concurrency;
----------------
yxsamliu wrote:
This enables CSan for every AMDGPU toolchain, including R600, PAL, Mesa, and AMD SPIR-V. The runtime only supports AMDGCN/HSA. Could we restrict this to that target and add negative tests?
https://github.com/llvm/llvm-project/pull/225781
More information about the llvm-branch-commits
mailing list