summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2013-02-20 19:15:01 +0000
committerDan Gohman <dan433584@gmail.com>2013-02-20 19:15:01 +0000
commit5cdb345883e210d27fe3d8f7ed307d315e2bf80b (patch)
tree20b4db344c6ef6a3f879220e0787d1eac708951c /llvm/lib/Support
parentfca968e13d4328b4e9ab296d99a95de62c2dd75d (diff)
downloadbcm5719-llvm-5cdb345883e210d27fe3d8f7ed307d315e2bf80b.tar.gz
bcm5719-llvm-5cdb345883e210d27fe3d8f7ed307d315e2bf80b.zip
SIGQUIT is a "kill" signal, rather than an "int" signal, in this context.
llvm-svn: 175648
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/Unix/Signals.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/Unix/Signals.inc b/llvm/lib/Support/Unix/Signals.inc
index af9e739e6d2..85be888cd72 100644
--- a/llvm/lib/Support/Unix/Signals.inc
+++ b/llvm/lib/Support/Unix/Signals.inc
@@ -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
OpenPOWER on IntegriCloud