diff options
| author | Kostya Serebryany <kcc@google.com> | 2015-05-26 20:57:47 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2015-05-26 20:57:47 +0000 |
| commit | 316b571007cdf4b377af568c5a7d5eb05b2b9171 (patch) | |
| tree | cc90fdb2b4856c793d955e6dfd5d97de7cbfbd85 /llvm/lib/Fuzzer/FuzzerLoop.cpp | |
| parent | c7818fbe98eb61a0120eaa4a5f353ed18dfea036 (diff) | |
| download | bcm5719-llvm-316b571007cdf4b377af568c5a7d5eb05b2b9171.tar.gz bcm5719-llvm-316b571007cdf4b377af568c5a7d5eb05b2b9171.zip | |
[lib/Fuzzer] make the fuzzing timeout 1200 seconds by default (was: infinity)
llvm-svn: 238251
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerLoop.cpp')
| -rw-r--r-- | llvm/lib/Fuzzer/FuzzerLoop.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerLoop.cpp b/llvm/lib/Fuzzer/FuzzerLoop.cpp index 1b6a82fe4a8..4c8b247a72e 100644 --- a/llvm/lib/Fuzzer/FuzzerLoop.cpp +++ b/llvm/lib/Fuzzer/FuzzerLoop.cpp @@ -66,6 +66,8 @@ void Fuzzer::AlarmCallback() { Printf("AlarmCallback %zd\n", Seconds); if (Seconds >= (size_t)Options.UnitTimeoutSec) { Printf("ALARM: working on the last Unit for %zd seconds\n", Seconds); + Printf(" and the timeout value is %d (use -timeout=N to change)\n", + Options.UnitTimeoutSec); Print(CurrentUnit, "\n"); PrintUnitInASCIIOrTokens(CurrentUnit, "\n"); WriteToCrash(CurrentUnit, "timeout-"); |

