File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 18
18
19
19
20
20
// Check that we don't link in libFuzzer.a when producing a shared object.
21
- // RUN: %clang -fsanitize=fuzzer %s -shared -o %t.so -### 2>&1 | FileCheck --check-prefixes=CHECK-NOLIB-SO %s
21
+ // RUN: %clang --target=x86_64-linux-gnu - fsanitize=fuzzer %s -shared -### 2>&1 | FileCheck --check-prefixes=CHECK-NOLIB-SO %s
22
22
// CHECK-NOLIB-SO-NOT: libclang_rt.libfuzzer
23
23
24
24
// Check that we don't link in libFuzzer when compiling with -fsanitize=fuzzer-no-link.
25
25
// RUN: %clang -fsanitize=fuzzer-no-link %s -target x86_64-apple-darwin14 -### 2>&1 | FileCheck --check-prefixes=CHECK-NOLIB,CHECK-COV %s
26
26
// CHECK-NOLIB-NOT: libclang_rt.libfuzzer
27
27
// CHECK-COV: -fsanitize-coverage-inline-8bit-counters
28
28
29
- // RUN: %clang -fsanitize=fuzzer -fsanitize-coverage=trace-pc %s -### 2>&1 | FileCheck --check-prefixes=CHECK-MSG %s
30
- // CHECK-MSG-NOT: argument unused during compilation
31
-
32
29
// Check that we respect whether thes tandard library should be linked
33
30
// statically.
34
31
//
You can’t perform that action at this time.
0 commit comments