summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-09-13 14:41:38 +0000
committerChris Lattner <sabre@nondot.org>2002-09-13 14:41:38 +0000
commitf78e050e936cbeb3a6a871c41a8663021f02d8b7 (patch)
tree3ea89a70aedc602f33aada93b074b1026a443676 /llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
parent5d40b83adfe30555d1c9c5af6a19fd1602eeaaba (diff)
downloadbcm5719-llvm-f78e050e936cbeb3a6a871c41a8663021f02d8b7.tar.gz
bcm5719-llvm-f78e050e936cbeb3a6a871c41a8663021f02d8b7.zip
Another portability patch graciously provided by Casey Carter
llvm-svn: 3698
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Execution.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Execution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
index 082823ade7b..909f568a582 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud