summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerInternal.h
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2015-03-30 22:44:03 +0000
committerKostya Serebryany <kcc@google.com>2015-03-30 22:44:03 +0000
commit03db8b92258ae10a1658234a7ea97d495188d9f3 (patch)
treee23011f5e58f31dd0b2efedb3d6c3adc0b8f200a /llvm/lib/Fuzzer/FuzzerInternal.h
parent2a90cde4fd97c131a9756d672582e58313b74864 (diff)
downloadbcm5719-llvm-03db8b92258ae10a1658234a7ea97d495188d9f3.tar.gz
bcm5719-llvm-03db8b92258ae10a1658234a7ea97d495188d9f3.zip
[fuzzer] print various stats in a unified way
llvm-svn: 233624
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerInternal.h')
-rw-r--r--llvm/lib/Fuzzer/FuzzerInternal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerInternal.h b/llvm/lib/Fuzzer/FuzzerInternal.h
index 6dbd815540e..19d8ae00469 100644
--- a/llvm/lib/Fuzzer/FuzzerInternal.h
+++ b/llvm/lib/Fuzzer/FuzzerInternal.h
@@ -90,6 +90,7 @@ class Fuzzer {
void WriteToOutputCorpus(const Unit &U);
static void WriteToCrash(const Unit &U, const char *Prefix);
bool MutateWithDFSan(Unit *U);
+ void PrintStats(const char *Where, size_t Cov, const char *End = "\n");
void SetDeathCallback();
static void DeathCallback();
OpenPOWER on IntegriCloud