[PATCH] D66020: [libFuzzer] Merge: print stats after reading the output corpus dir.
Max Moroz via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 9 11:21:23 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL368461: [libFuzzer] Merge: print stats after reading the output corpus dir. (authored by Dor1s, committed by ).
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66020/new/
https://reviews.llvm.org/D66020
Files:
compiler-rt/trunk/lib/fuzzer/FuzzerMerge.cpp
Index: compiler-rt/trunk/lib/fuzzer/FuzzerMerge.cpp
===================================================================
--- compiler-rt/trunk/lib/fuzzer/FuzzerMerge.cpp
+++ compiler-rt/trunk/lib/fuzzer/FuzzerMerge.cpp
@@ -239,6 +239,8 @@
// Show stats.
if (!(TotalNumberOfRuns & (TotalNumberOfRuns - 1)))
PrintStats("pulse ");
+ if (TotalNumberOfRuns == M.NumFilesInFirstCorpus)
+ PrintStats("LOADED");
// Write the post-run marker and the coverage.
OF << "FT " << i;
for (size_t F : UniqFeatures)
@@ -252,7 +254,7 @@
OF << "\n";
OF.flush();
}
- PrintStats("DONE ");
+ PrintStats("DONE ");
}
static void WriteNewControlFile(const std::string &CFPath,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66020.214410.patch
Type: text/x-patch
Size: 711 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190809/5a0d5018/attachment.bin>
More information about the llvm-commits
mailing list