Another portability patch graciously provided by Casey Carter

llvm-svn: 3698
This commit is contained in:
Chris Lattner 2002-09-13 14:41:38 +00:00
parent 5d40b83adf
commit f78e050e93
1 changed files with 1 additions and 1 deletions

View File

@ -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.