diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2013-12-11 16:39:35 +0000 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2013-12-19 15:45:04 +0000 |
commit | 92a6ba10d2c125f5301613369a0f17856e637808 (patch) | |
tree | 67b4c19a87e60df845d41cfce28c9ead7bd9268e | |
parent | 6829fb93ce36afc852c97928b94ab9ad5e221aec (diff) | |
download | klee-92a6ba10d2c125f5301613369a0f17856e637808.tar.gz |
If error location information is missing be explicit about it. This
is more helpful because often the next message is "Now ignoring error at this location". Which is slightly confusing when no location is shown.
-rw-r--r-- | lib/Core/Executor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp index f01fa4ee..371aa7f1 100644 --- a/lib/Core/Executor.cpp +++ b/lib/Core/Executor.cpp @@ -2780,7 +2780,7 @@ void Executor::terminateStateOnError(ExecutionState &state, if (ii.file != "") { klee_message("ERROR: %s:%d: %s", ii.file.c_str(), ii.line, message.c_str()); } else { - klee_message("ERROR: %s", message.c_str()); + klee_message("ERROR: (location information missing) %s", message.c_str()); } if (!EmitAllErrors) klee_message("NOTE: now ignoring this error at this location"); |