diff options
author | Chris Lattner <sabre@nondot.org> | 2002-09-13 14:41:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-09-13 14:41:38 +0000 |
commit | f78e050e936cbeb3a6a871c41a8663021f02d8b7 (patch) | |
tree | 3ea89a70aedc602f33aada93b074b1026a443676 /llvm/lib/ExecutionEngine/Interpreter/Execution.cpp | |
parent | 5d40b83adfe30555d1c9c5af6a19fd1602eeaaba (diff) | |
download | bcm5719-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.cpp | 2 |
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. |