diff options
author | Jack Lloyd <[email protected]> | 2019-10-06 08:34:18 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-10-06 08:34:18 -0400 |
commit | e775ae961d92dbade09d248093d7149cf1004e50 (patch) | |
tree | 48164f5e6a99a2fbc09998b1f3dfed330dc16dcd /src | |
parent | cda9a4096c4646f3d72d5238cfa0039d9dea2484 (diff) |
Switch to using -fsanitize=fuzzer-no-link with Clang
Latest libFuzzer no longer works with trace-pc-guard
We need fuzzer-no-link so the tests continue to build, and we already
provide -lFuzzer on the command line when linking the fuzzers.
Closes #2132
Diffstat (limited to 'src')
-rw-r--r-- | src/build-data/cc/clang.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt index 0312055aa..e0b9d3a33 100644 --- a/src/build-data/cc/clang.txt +++ b/src/build-data/cc/clang.txt @@ -18,7 +18,7 @@ default -> address,undefined address -> "-fsanitize=address" undefined -> "-fsanitize=undefined -fno-sanitize-recover=undefined" -coverage -> "-fsanitize-coverage=edge,indirect-calls,trace-pc-guard,trace-cmp,trace-gep" +coverage -> "-fsanitize=fuzzer-no-link" memory -> "-fsanitize=memory" </sanitizers> |