diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2012-04-21 14:45:37 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2012-04-21 14:45:37 +0000 |
commit | e0af267bc2ee95108b6a0e2128b70421ed68f999 (patch) | |
tree | d5ab72ecfd94059c3ab53e096ead05c51c4e2a3c /lib/Support | |
parent | d1ad82f869aadeba51b366486be63e20023f32f0 (diff) | |
download | external_llvm-e0af267bc2ee95108b6a0e2128b70421ed68f999.zip external_llvm-e0af267bc2ee95108b6a0e2128b70421ed68f999.tar.gz external_llvm-e0af267bc2ee95108b6a0e2128b70421ed68f999.tar.bz2 |
move Signals to .rodata
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155283 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r-- | lib/Support/CrashRecoveryContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/CrashRecoveryContext.cpp b/lib/Support/CrashRecoveryContext.cpp index e2af0bc..e175056 100644 --- 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]; |