[llvm-commits] CVS: llvm/tools/lli/Execution.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Sep 13 09:42:01 PDT 2002


Changes in directory llvm/tools/lli:

Execution.cpp updated: 1.64 -> 1.65

---
Log message:

Another portability patch graciously provided by Casey Carter



---
Diffs of the changes:

Index: llvm/tools/lli/Execution.cpp
diff -u llvm/tools/lli/Execution.cpp:1.64 llvm/tools/lli/Execution.cpp:1.65
--- llvm/tools/lli/Execution.cpp:1.64	Tue Sep 10 20:21:35 2002
+++ llvm/tools/lli/Execution.cpp	Fri Sep 13 09:41:38 2002
@@ -1153,7 +1153,7 @@
   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.





More information about the llvm-commits mailing list