[clang] [compiler-rt] [llvm] [csan] Add support for Hexagon (PR #241091)

Brian Cain via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 10 19:48:14 PST 2026


================
@@ -0,0 +1,15 @@
+// RUN: %clang --target=hexagon-unknown-linux-musl -fsanitize=concurrency %s -### 2>&1 | FileCheck %s --check-prefix=STATIC
+// RUN: %clang --target=hexagon-unknown-linux-musl -fsanitize=concurrency -shared-libsan %s -### 2>&1 | FileCheck %s --check-prefix=SHARED
+// RUN: not %clang --target=hexagon-unknown-none-elf -fsanitize=concurrency %s -### 2>&1 | FileCheck %s --check-prefix=BAREMETAL
+
+// STATIC-NOT: error:
+// STATIC: "-fsanitize=concurrency"
----------------
androm3da wrote:

Makes sense.  Updated `clang/test/Driver/fsanitize.c` instead.

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


More information about the cfe-commits mailing list