[llvm-commits] CVS: llvm/lib/Support/Signals.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Sep 13 09:58:01 PDT 2002
Changes in directory llvm/lib/Support:
Signals.cpp updated: 1.2 -> 1.3
---
Log message:
Submitted by Casey Carter:
ISSUE: Linux doesn't have any steenking SIGEMT signal, as referred to in
lib/Support/Signals.cpp.
ACTION: Wrap the use with a #ifdef SIGEMT / #endif.
---
Diffs of the changes:
Index: llvm/lib/Support/Signals.cpp
diff -u llvm/lib/Support/Signals.cpp:1.2 llvm/lib/Support/Signals.cpp:1.3
--- llvm/lib/Support/Signals.cpp:1.2 Tue Jun 25 15:51:26 2002
+++ llvm/lib/Support/Signals.cpp Fri Sep 13 09:57:24 2002
@@ -24,8 +24,10 @@
// KillSigs - Signals that are synchronous with the program that will cause it
// to die.
static const int KillSigs[] = {
- SIGILL, SIGTRAP, SIGABRT, SIGEMT, SIGFPE,
- SIGBUS, SIGSEGV, SIGSYS, SIGXCPU, SIGXFSZ
+ SIGILL, SIGTRAP, SIGABRT, SIGFPE, SIGBUS, SIGSEGV, SIGSYS, SIGXCPU, SIGXFSZ
+#ifdef SIGEMT
+ , SIGEMT
+#endif
};
static const int *KillSigsEnd = KillSigs + sizeof(KillSigs)/sizeof(KillSigs[0]);
More information about the llvm-commits
mailing list