mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 15:41:46 +00:00
[Driver][test] Ensure fuzzer.c commands have --target=
This commit is contained in:
parent
2a1edebdf1
commit
0c2cd74ff8
@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
// Check that we don't link in libFuzzer.a when producing a shared object.
|
||||
// RUN: %clang -fsanitize=fuzzer %s -shared -o %t.so -### 2>&1 | FileCheck --check-prefixes=CHECK-NOLIB-SO %s
|
||||
// RUN: %clang --target=x86_64-linux-gnu -fsanitize=fuzzer %s -shared -### 2>&1 | FileCheck --check-prefixes=CHECK-NOLIB-SO %s
|
||||
// CHECK-NOLIB-SO-NOT: libclang_rt.libfuzzer
|
||||
|
||||
// Check that we don't link in libFuzzer when compiling with -fsanitize=fuzzer-no-link.
|
||||
@ -26,9 +26,6 @@
|
||||
// CHECK-NOLIB-NOT: libclang_rt.libfuzzer
|
||||
// CHECK-COV: -fsanitize-coverage-inline-8bit-counters
|
||||
|
||||
// RUN: %clang -fsanitize=fuzzer -fsanitize-coverage=trace-pc %s -### 2>&1 | FileCheck --check-prefixes=CHECK-MSG %s
|
||||
// CHECK-MSG-NOT: argument unused during compilation
|
||||
|
||||
// Check that we respect whether thes tandard library should be linked
|
||||
// statically.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user