[llvm] r175648 - SIGQUIT is a "kill" signal, rather than an "int" signal, in this context.

Dan Gohman dan433584 at gmail.com
Wed Feb 20 11:15:01 PST 2013


Author: djg
Date: Wed Feb 20 13:15:01 2013
New Revision: 175648

URL: http://llvm.org/viewvc/llvm-project?rev=175648&view=rev
Log:
SIGQUIT is a "kill" signal, rather than an "int" signal, in this context.

Modified:
    llvm/trunk/lib/Support/Unix/Signals.inc

Modified: llvm/trunk/lib/Support/Unix/Signals.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Unix/Signals.inc?rev=175648&r1=175647&r2=175648&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Unix/Signals.inc (original)
+++ llvm/trunk/lib/Support/Unix/Signals.inc Wed Feb 20 13:15:01 2013
@@ -49,7 +49,7 @@ static std::vector<std::pair<void(*)(voi
 
 // IntSigs - Signals that may interrupt the program at any time.
 static const int IntSigs[] = {
-  SIGHUP, SIGINT, SIGQUIT, SIGPIPE, SIGTERM, SIGUSR1, SIGUSR2
+  SIGHUP, SIGINT, SIGPIPE, SIGTERM, SIGUSR1, SIGUSR2
 };
 static const int *const IntSigsEnd =
   IntSigs + sizeof(IntSigs) / sizeof(IntSigs[0]);
@@ -57,7 +57,7 @@ static const int *const IntSigsEnd =
 // KillSigs - Signals that are synchronous with the program that will cause it
 // to die.
 static const int KillSigs[] = {
-  SIGILL, SIGTRAP, SIGABRT, SIGFPE, SIGBUS, SIGSEGV
+  SIGILL, SIGTRAP, SIGABRT, SIGFPE, SIGBUS, SIGSEGV, SIGQUIT
 #ifdef SIGSYS
   , SIGSYS
 #endif





More information about the llvm-commits mailing list