projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1ad82f
)
move Signals to .rodata
author
Nuno Lopes
<nunoplopes@sapo.pt>
Sat, 21 Apr 2012 14:45:37 +0000
(14:45 +0000)
committer
Nuno Lopes
<nunoplopes@sapo.pt>
Sat, 21 Apr 2012 14:45:37 +0000
(14:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155283
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/CrashRecoveryContext.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/CrashRecoveryContext.cpp
b/lib/Support/CrashRecoveryContext.cpp
index e2af0bc176550c13b91dc1b715d2bb1a5bb225ea..e175056279cccafc974f0aae05934ec545c9757d 100644
(file)
--- a/
lib/Support/CrashRecoveryContext.cpp
+++ b/
lib/Support/CrashRecoveryContext.cpp
@@
-223,7
+223,7
@@
void CrashRecoveryContext::Disable() {
#include <signal.h>
-static int Signals[] = { SIGABRT, SIGBUS, SIGFPE, SIGILL, SIGSEGV, SIGTRAP };
+static
const
int Signals[] = { SIGABRT, SIGBUS, SIGFPE, SIGILL, SIGSEGV, SIGTRAP };
static const unsigned NumSignals = sizeof(Signals) / sizeof(Signals[0]);
static struct sigaction PrevActions[NumSignals];