forked from OSchip/llvm-project
parent
2626094fa1
commit
1d37443718
|
@ -244,7 +244,7 @@ void CrashRecoveryContext::Disable() {
|
|||
|
||||
static const int Signals[] =
|
||||
{ SIGABRT, SIGBUS, SIGFPE, SIGILL, SIGSEGV, SIGTRAP };
|
||||
static const unsigned NumSignals = sizeof(Signals) / sizeof(Signals[0]);
|
||||
static const unsigned NumSignals = array_lengthof(Signals);
|
||||
static struct sigaction PrevActions[NumSignals];
|
||||
|
||||
static void CrashRecoverySignalHandler(int Signal) {
|
||||
|
|
Loading…
Reference in New Issue