summaryrefslogtreecommitdiff
path: root/lib/fuzzer/FuzzerTracePC.cpp
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2018-05-10 20:24:39 +0000
committerKostya Serebryany <kcc@google.com>2018-05-10 20:24:39 +0000
commitc597043e971f1a96ac5e168055c6d30ef999b0b6 (patch)
treee8e1b22e1486b5791cbb9ed2f35d15d8c710ca0b /lib/fuzzer/FuzzerTracePC.cpp
parent4eadac5244583b24a58f755d187ecdfc81906248 (diff)
[libFuzzer] remove the dump_coverage flag, it hasn't been working with the inline sanitizer coverage anyway
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@332036 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/fuzzer/FuzzerTracePC.cpp')
-rw-r--r--lib/fuzzer/FuzzerTracePC.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/fuzzer/FuzzerTracePC.cpp b/lib/fuzzer/FuzzerTracePC.cpp
index f8c193ef5..4b106e572 100644
--- a/lib/fuzzer/FuzzerTracePC.cpp
+++ b/lib/fuzzer/FuzzerTracePC.cpp
@@ -269,15 +269,6 @@ void TracePC::PrintCoverage() {
FunctionEndCallback("", "");
}
-void TracePC::DumpCoverage() {
- if (EF->__sanitizer_dump_coverage) {
- Vector<uintptr_t> PCsCopy(GetNumPCs());
- for (size_t i = 0; i < GetNumPCs(); i++)
- PCsCopy[i] = PCs()[i] ? GetPreviousInstructionPc(PCs()[i]) : 0;
- EF->__sanitizer_dump_coverage(PCsCopy.data(), PCsCopy.size());
- }
-}
-
// Value profile.
// We keep track of various values that affect control flow.
// These values are inserted into a bit-set-based hash map.