[llvm-branch-commits] [clang] [Clang] Add support for the `-fsanitize=concurrency` runtime (PR #225781)

Joseph Huber via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Sep 24 05:14:22 PDT 2026


================
@@ -1813,6 +1835,8 @@ collectSanitizerRuntimes(Compilation &C, const ToolChain &TC,
       StaticRuntimes.push_back("ubsan_standalone");
     }
   }
+  if (!SanArgs.needsSharedRt() && NeedsCsanRt)
----------------
jhuber6 wrote:

We can support it for the CPU, but the GPU doesn't support dynamic linking, so that should probably just be a linker error.

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


More information about the llvm-branch-commits mailing list