[llvm-commits] [llvm] r155283 - /llvm/trunk/lib/Support/CrashRecoveryContext.cpp
Nuno Lopes
nunoplopes at sapo.pt
Sat Apr 21 07:45:37 PDT 2012
Author: nlopes
Date: Sat Apr 21 09:45:37 2012
New Revision: 155283
URL: http://llvm.org/viewvc/llvm-project?rev=155283&view=rev
Log:
move Signals to .rodata
Modified:
llvm/trunk/lib/Support/CrashRecoveryContext.cpp
Modified: llvm/trunk/lib/Support/CrashRecoveryContext.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/CrashRecoveryContext.cpp?rev=155283&r1=155282&r2=155283&view=diff
==============================================================================
--- llvm/trunk/lib/Support/CrashRecoveryContext.cpp (original)
+++ llvm/trunk/lib/Support/CrashRecoveryContext.cpp Sat Apr 21 09:45:37 2012
@@ -223,7 +223,7 @@
#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];
More information about the llvm-commits
mailing list