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

Reply via email to