summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerFlags.def
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/FuzzerFlags.def
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/FuzzerFlags.def')
-rw-r--r--llvm/lib/Fuzzer/FuzzerFlags.def5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerFlags.def b/llvm/lib/Fuzzer/FuzzerFlags.def
index 9d1b54524e9..c6fa388b728 100644
--- a/llvm/lib/Fuzzer/FuzzerFlags.def
+++ b/llvm/lib/Fuzzer/FuzzerFlags.def
@@ -27,7 +27,10 @@ FUZZER_FLAG_INT(
" If 0, never do that. If -1, do it sometimes.")
FUZZER_FLAG_INT(exit_on_first, 0,
"If 1, exit after the first new interesting input is found.")
-FUZZER_FLAG_INT(timeout, -1, "Timeout in seconds (if positive).")
+FUZZER_FLAG_INT(
+ timeout, -1,
+ "Timeout in seconds (if positive). "
+ "If one unit runs more than this number of seconds the process will abort.")
FUZZER_FLAG_INT(help, 0, "Print help.")
FUZZER_FLAG_INT(
save_minimized_corpus, 0,
OpenPOWER on IntegriCloud