about summary refs log tree commit diff homepage
path: root/lib/Core/Executor.cpp
diff options
context:
space:
mode:
authorDan Liew <daniel.liew@imperial.ac.uk>2013-12-11 16:45:42 +0000
committerDan Liew <daniel.liew@imperial.ac.uk>2013-12-19 15:45:04 +0000
commitcca3536a76d877c5441e54e093a5808cd05c4f86 (patch)
treeaf98146fe7f71bb793fa9235bc241f73c85f68f6 /lib/Core/Executor.cpp
parent92a6ba10d2c125f5301613369a0f17856e637808 (diff)
downloadklee-cca3536a76d877c5441e54e093a5808cd05c4f86.tar.gz
When writing stack traces for bugs write the location in the assembly.ll
file as well.
Diffstat (limited to 'lib/Core/Executor.cpp')
-rw-r--r--lib/Core/Executor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp
index 371aa7f1..767a5602 100644
--- a/lib/Core/Executor.cpp
+++ b/lib/Core/Executor.cpp
@@ -2790,6 +2790,7 @@ void Executor::terminateStateOnError(ExecutionState &state,
     if (ii.file != "") {
       msg << "File: " << ii.file << "\n";
       msg << "Line: " << ii.line << "\n";
+      msg << "assembly.ll line: " << ii.assemblyLine << "\n";
     }
     msg << "Stack: \n";
     state.dumpStack(msg);