We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7f4973 commit ed2a073Copy full SHA for ed2a073
compiler-rt/test/tsan/target_clones_segfault.c
@@ -0,0 +1,10 @@
1
+// https://github.com/llvm/llvm-project/issues/163369
2
+// RUN: %clang %s -fsanitize=thread -o %t
3
+// RUN: %t
4
+
5
+__attribute__((target_clones("default,avx"))) static int
6
+has_target_clones(void) {
7
+ return 0;
8
+}
9
10
+int main(void) { has_target_clones(); }
0 commit comments