diff options
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerLoop.cpp')
| -rw-r--r-- | llvm/lib/Fuzzer/FuzzerLoop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerLoop.cpp b/llvm/lib/Fuzzer/FuzzerLoop.cpp index 9ad2bd729aa..b0bfce73ffd 100644 --- a/llvm/lib/Fuzzer/FuzzerLoop.cpp +++ b/llvm/lib/Fuzzer/FuzzerLoop.cpp @@ -41,12 +41,12 @@ void Fuzzer::AlarmCallback() { duration_cast<seconds>(system_clock::now() - UnitStartTime).count(); std::cerr << "ALARM: working on the last Unit for " << Seconds << " seconds" << std::endl; - if (Seconds > 60) { + if (Seconds >= 3) { Print(CurrentUnit, "\n"); PrintASCII(CurrentUnit, "\n"); WriteToCrash(CurrentUnit, "timeout-"); } - abort(); + exit(1); } void Fuzzer::ShuffleAndMinimize() { |

