diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2017-03-18 10:40:33 +0000 |
---|---|---|
committer | Dan Liew <delcypher@gmail.com> | 2017-03-23 15:12:20 +0000 |
commit | d2f335bb6be7c6739223ea68edf453a7f8f53401 (patch) | |
tree | c863826ab196e32618c3e0236f7edc86d7211ced /tools | |
parent | 2806c2037c2e3ad9e29b33f88e0dae6b2d9d9df0 (diff) | |
download | klee-d2f335bb6be7c6739223ea68edf453a7f8f53401.tar.gz |
[WIP] Fix bug where stats would not be updated on early exit caused by
finding a bug with the `-exit-on-error` option enabled.
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); } |