diff options
author | Kostya Serebryany <kcc@google.com> | 2016-01-29 23:30:07 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2016-01-29 23:30:07 +0000 |
commit | 54a6363a8f154430342ea6fa4a9d81b686587ba0 (patch) | |
tree | 58b6a2de02c58d61d05a06c01ba11c4411da5126 /llvm/lib/Fuzzer/FuzzerFlags.def | |
parent | 6038d3e5c650a9044390d6f861a73528877cfd32 (diff) | |
download | bcm5719-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.def | 2 |
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.") |