SIGQUIT is a "kill" signal, rather than an "int" signal, in this context.
authorDan Gohman <dan433584@gmail.com>
Wed, 20 Feb 2013 19:15:01 +0000 (19:15 +0000)
committerDan Gohman <dan433584@gmail.com>
Wed, 20 Feb 2013 19:15:01 +0000 (19:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175648 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Unix/Signals.inc

index af9e739e6d2061c9e4c094accc1a644d1d3f1562..85be888cd72735089b5a21f17f2b06639afc20e7 100644 (file)
@@ -49,7 +49,7 @@ static std::vector<std::pair<void(*)(void*), void*> > CallBacksToRun;
 
 // 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