summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerInternal.h
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2015-05-19 22:12:57 +0000
committerKostya Serebryany <kcc@google.com>2015-05-19 22:12:57 +0000
commit490bbd6fa427ef320da238f40238ba6cfa85ddc0 (patch)
treebe008dfaade17c4509c7e5a9b54622151e676f3b /llvm/lib/Fuzzer/FuzzerInternal.h
parentff0e9ade5abf24b8d10b8b705374c153ab649ece (diff)
downloadbcm5719-llvm-490bbd6fa427ef320da238f40238ba6cfa85ddc0.tar.gz
bcm5719-llvm-490bbd6fa427ef320da238f40238ba6cfa85ddc0.zip
[lib/Fuzzer] change the meaning of -timeout flag: now timeout is applied to every unit of work separately
llvm-svn: 237735
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 80a2fc31c3a..b0c27b0da33 100644
--- a/llvm/lib/Fuzzer/FuzzerInternal.h
+++ b/llvm/lib/Fuzzer/FuzzerInternal.h
@@ -56,6 +56,7 @@ class Fuzzer {
struct FuzzingOptions {
int Verbosity = 1;
int MaxLen = 0;
+ int UnitTimeoutSec = 300;
bool DoCrossOver = true;
int MutateDepth = 5;
bool ExitOnFirst = false;
OpenPOWER on IntegriCloud