diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/klee/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp index c65953d1..337d23a4 100644 --- a/tools/klee/main.cpp +++ b/tools/klee/main.cpp @@ -422,6 +422,7 @@ void KleeHandler::processTestCase(const ExecutionState &state, const char *errorSuffix) { if (errorMessage && ExitOnError) { llvm::errs() << "EXITING ON ERROR:\n" << errorMessage << "\n"; + m_interpreter->prepareForEarlyExit(); exit(1); } |