From: Chris Lattner Date: Fri, 13 Sep 2002 14:41:38 +0000 (+0000) Subject: Another portability patch graciously provided by Casey Carter X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8b77be22f50cfdcdff63b7de3b6b391ec2f010f6;p=oota-llvm.git Another portability patch graciously provided by Casey Carter git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3698 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp index 082823ade7b..909f568a582 100644 --- 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.