projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4042332
)
Another portability patch graciously provided by Casey Carter
author
Chris Lattner
<sabre@nondot.org>
Fri, 13 Sep 2002 14:41:38 +0000
(14:41 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 13 Sep 2002 14:41:38 +0000
(14:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3698
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/ExecutionEngine/Interpreter/Execution.cpp
patch
|
blob
|
history
diff --git
a/lib/ExecutionEngine/Interpreter/Execution.cpp
b/lib/ExecutionEngine/Interpreter/Execution.cpp
index 082823ade7beb4c7bed21e4de7cff35c1bb8b49a..909f568a582521be933024d76312c11f656d4109 100644
(file)
--- a/
lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/
lib/ExecutionEngine/Interpreter/Execution.cpp
@@
-1153,7
+1153,7
@@
bool Interpreter::executeInstruction() {
if (int SigNo = sigsetjmp(SignalRecoverBuffer, 1)) {
--SF.CurInst; // Back up to erroring instruction
if (SigNo != SIGINT) {
- cout << "EXCEPTION OCCURRED [" <<
_sys_siglistp[SigNo]
<< "]:\n";
+ cout << "EXCEPTION OCCURRED [" <<
strsignal(SigNo)
<< "]:\n";
printStackTrace();
// If -abort-on-exception was specified, terminate LLI instead of trying
// to debug it.