summaryrefslogtreecommitdiffstats
path: root/compiler-rt/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
commitd80e821646a15eeb72395f13a321c6b5df79e015 (patch)
tree8871477010788a4a26d87f0332474fa8a617c5ef /compiler-rt/lib/fuzzer/FuzzerTracePC.cpp
parent9788e60736b3ea72a493ce9cfb058e540d9c50af (diff)
downloadbcm5719-llvm-d80e821646a15eeb72395f13a321c6b5df79e015.tar.gz
bcm5719-llvm-d80e821646a15eeb72395f13a321c6b5df79e015.zip
[libFuzzer] remove the dump_coverage flag, it hasn't been working with the inline sanitizer coverage anyway
llvm-svn: 332036
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerTracePC.cpp')
-rw-r--r--compiler-rt/lib/fuzzer/FuzzerTracePC.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerTracePC.cpp b/compiler-rt/lib/fuzzer/FuzzerTracePC.cpp
index f8c193ef57e..4b106e57242 100644
--- a/compiler-rt/lib/fuzzer/FuzzerTracePC.cpp
+++ b/compiler-rt/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.
OpenPOWER on IntegriCloud