================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to