diff options
| author | Kostya Serebryany <kcc@google.com> | 2018-05-10 20:12:15 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2018-05-10 20:12:15 +0000 |
| commit | 59bf1e8b368c70f086cdb9a1df34ef9a0c72e062 (patch) | |
| tree | cb33e1e914b0d77eb01f2c8c1960f1287330c4fd /compiler-rt/lib/fuzzer/FuzzerTracePC.cpp | |
| parent | 3bde9622555f685e8d8d25c71133093c7ab9ce48 (diff) | |
| download | bcm5719-llvm-59bf1e8b368c70f086cdb9a1df34ef9a0c72e062.tar.gz bcm5719-llvm-59bf1e8b368c70f086cdb9a1df34ef9a0c72e062.zip | |
[libFuzzer] remove the experimental support for clang coverage instrumentation. This mode has not been used and our experiments with https://github.com/google/fuzzer-test-suite show that this signal is weaker than the SanitizerCoverage
llvm-svn: 332034
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerTracePC.cpp')
| -rw-r--r-- | compiler-rt/lib/fuzzer/FuzzerTracePC.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerTracePC.cpp b/compiler-rt/lib/fuzzer/FuzzerTracePC.cpp index 701ef087319..f8c193ef57e 100644 --- a/compiler-rt/lib/fuzzer/FuzzerTracePC.cpp +++ b/compiler-rt/lib/fuzzer/FuzzerTracePC.cpp @@ -132,9 +132,6 @@ void TracePC::PrintModuleInfo() { _Exit(1); } } - if (size_t NumClangCounters = ClangCountersEnd() - ClangCountersBegin()) - Printf("INFO: %zd Clang Coverage Counters\n", NumClangCounters); - if (size_t NumExtraCounters = ExtraCountersEnd() - ExtraCountersBegin()) Printf("INFO: %zd Extra Counters\n", NumExtraCounters); } @@ -185,13 +182,6 @@ void TracePC::UpdateObservedPCs() { } } } - if (size_t NumClangCounters = - ClangCountersEnd() - ClangCountersBegin()) { - auto P = ClangCountersBegin(); - for (size_t Idx = 0; Idx < NumClangCounters; Idx++) - if (P[Idx]) - ObservePC((uintptr_t)Idx); - } for (size_t i = 0, N = Min(CoveredFuncs.size(), NumPrintNewFuncs); i < N; i++) { Printf("\tNEW_FUNC[%zd/%zd]: ", i, CoveredFuncs.size()); |

