diff options
author | Kostya Serebryany <kcc@google.com> | 2018-05-21 19:47:00 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2018-05-21 19:47:00 +0000 |
commit | cfc4a3e12b343978b104a1b8b0070593fceb5965 (patch) | |
tree | 3eea2f375dfec0d57c3bd2ae2af2fe83c65f6756 /lib/fuzzer/FuzzerLoop.cpp | |
parent | 6d4a6ff7196268f1568af3d72a2681fb76d9e599 (diff) |
[libFuzzer] reinstate -dump_coverage, which is still in use (reverts r332036)
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@332876 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/fuzzer/FuzzerLoop.cpp')
-rw-r--r-- | lib/fuzzer/FuzzerLoop.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/fuzzer/FuzzerLoop.cpp b/lib/fuzzer/FuzzerLoop.cpp index 4bf5c7802..d5b949c5f 100644 --- a/lib/fuzzer/FuzzerLoop.cpp +++ b/lib/fuzzer/FuzzerLoop.cpp @@ -350,6 +350,8 @@ void Fuzzer::PrintStats(const char *Where, const char *End, size_t Units) { void Fuzzer::PrintFinalStats() { if (Options.PrintCoverage) TPC.PrintCoverage(); + if (Options.DumpCoverage) + TPC.DumpCoverage(); if (Options.PrintCorpusStats) Corpus.PrintStats(); if (!Options.PrintFinalStats) |