diff options
author | Max Moroz <mmoroz@chromium.org> | 2017-10-05 22:41:03 +0000 |
---|---|---|
committer | Max Moroz <mmoroz@chromium.org> | 2017-10-05 22:41:03 +0000 |
commit | 590a32da41f486f5d834ccc9af1d337565b6a675 (patch) | |
tree | 8e96c5110a938df2585a3e9bffd09cc832257bd5 /lib/fuzzer/FuzzerOptions.h | |
parent | 2edf2374329a4748bad03d6a6517ec89b1e472de (diff) |
[libFuzzer] Disable experimental clang coverage support by default.
Summary:
It can be enabled via "-use_clang_coverage=1" flag. Reason for disabling:
libFuzzer resets Clang Counters and makes it impossible to generate coverage
report for a regular fuzz target (i.e. not standalone build).
Reviewers: kcc
Reviewed By: kcc
Subscribers: kcc
Differential Revision: https://reviews.llvm.org/D38604
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@315029 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/fuzzer/FuzzerOptions.h')
-rw-r--r-- | lib/fuzzer/FuzzerOptions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fuzzer/FuzzerOptions.h b/lib/fuzzer/FuzzerOptions.h index bfac3b685..ddf6e4201 100644 --- a/lib/fuzzer/FuzzerOptions.h +++ b/lib/fuzzer/FuzzerOptions.h @@ -52,6 +52,7 @@ struct FuzzingOptions { bool PrintCorpusStats = false; bool PrintCoverage = false; bool DumpCoverage = false; + bool UseClangCoverage = false; bool DetectLeaks = true; int TraceMalloc = 0; bool HandleAbrt = false; |