mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
Another portability patch graciously provided by Casey Carter
llvm-svn: 3698
This commit is contained in:
parent
3ddb1c6597
commit
c96a7a51bf
@ -1153,7 +1153,7 @@ bool Interpreter::executeInstruction() {
|
|||||||
if (int SigNo = sigsetjmp(SignalRecoverBuffer, 1)) {
|
if (int SigNo = sigsetjmp(SignalRecoverBuffer, 1)) {
|
||||||
--SF.CurInst; // Back up to erroring instruction
|
--SF.CurInst; // Back up to erroring instruction
|
||||||
if (SigNo != SIGINT) {
|
if (SigNo != SIGINT) {
|
||||||
cout << "EXCEPTION OCCURRED [" << _sys_siglistp[SigNo] << "]:\n";
|
cout << "EXCEPTION OCCURRED [" << strsignal(SigNo) << "]:\n";
|
||||||
printStackTrace();
|
printStackTrace();
|
||||||
// If -abort-on-exception was specified, terminate LLI instead of trying
|
// If -abort-on-exception was specified, terminate LLI instead of trying
|
||||||
// to debug it.
|
// to debug it.
|
||||||
|
Loading…
Reference in New Issue
Block a user