summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerFlags.def
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2016-01-29 23:30:07 +0000
committerKostya Serebryany <kcc@google.com>2016-01-29 23:30:07 +0000
commit54a6363a8f154430342ea6fa4a9d81b686587ba0 (patch)
tree58b6a2de02c58d61d05a06c01ba11c4411da5126 /llvm/lib/Fuzzer/FuzzerFlags.def
parent6038d3e5c650a9044390d6f861a73528877cfd32 (diff)
downloadbcm5719-llvm-54a6363a8f154430342ea6fa4a9d81b686587ba0.tar.gz
bcm5719-llvm-54a6363a8f154430342ea6fa4a9d81b686587ba0.zip
[libFuzzer] add -timeout_exitcode option
llvm-svn: 259265
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerFlags.def')
-rw-r--r--llvm/lib/Fuzzer/FuzzerFlags.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerFlags.def b/llvm/lib/Fuzzer/FuzzerFlags.def
index 7f8d705a0d9..a451436896a 100644
--- a/llvm/lib/Fuzzer/FuzzerFlags.def
+++ b/llvm/lib/Fuzzer/FuzzerFlags.def
@@ -30,6 +30,8 @@ FUZZER_FLAG_INT(
"Timeout in seconds (if positive). "
"If one unit runs more than this number of seconds the process will abort.")
FUZZER_FLAG_INT(abort_on_timeout, 0, "If positive, call abort on timeout.")
+FUZZER_FLAG_INT(timeout_exitcode, 77,
+ "Unless abort_on_timeout is set, use this exitcode on timeout.")
FUZZER_FLAG_INT(max_total_time, 0, "If positive, indicates the maximal total "
"time in seconds to run the fuzzer.")
FUZZER_FLAG_INT(help, 0, "Print help.")
OpenPOWER on IntegriCloud