mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-27 13:40:30 +00:00
move Signals to .rodata
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155283 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d1ad82f869
commit
e0af267bc2
@ -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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user