summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/CrashRecoveryContext.cpp
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2012-04-21 14:45:37 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2012-04-21 14:45:37 +0000
commite568efbc4d9b0c700024c3d8060a4fe95046762e (patch)
tree32b11719776855fb5583437715d6befdea5b868c /llvm/lib/Support/CrashRecoveryContext.cpp
parent9af6b0350c616d4b011bd2d937029466c7e64036 (diff)
downloadbcm5719-llvm-e568efbc4d9b0c700024c3d8060a4fe95046762e.tar.gz
bcm5719-llvm-e568efbc4d9b0c700024c3d8060a4fe95046762e.zip
move Signals to .rodata
llvm-svn: 155283
Diffstat (limited to 'llvm/lib/Support/CrashRecoveryContext.cpp')
-rw-r--r--llvm/lib/Support/CrashRecoveryContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/CrashRecoveryContext.cpp b/llvm/lib/Support/CrashRecoveryContext.cpp
index e2af0bc1765..e175056279c 100644
--- a/llvm/lib/Support/CrashRecoveryContext.cpp
+++ b/llvm/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];
OpenPOWER on IntegriCloud