forked from OSchip/llvm-project
Be more verbose when installing the signals.
llvm-svn: 157693
This commit is contained in:
parent
6e216bea86
commit
bb50e7f08c
|
@ -74,6 +74,9 @@ static void MaybeInstallSigaction(int signum,
|
|||
sigact.sa_flags = SA_SIGINFO;
|
||||
if (FLAG_use_sigaltstack) sigact.sa_flags |= SA_ONSTACK;
|
||||
CHECK(0 == REAL(sigaction)(signum, &sigact, 0));
|
||||
if (FLAG_v >= 1) {
|
||||
Report("Installed the sigaction for signal %d\n", signum);
|
||||
}
|
||||
}
|
||||
|
||||
static void ASAN_OnSIGSEGV(int, siginfo_t *siginfo, void *context) {
|
||||
|
|
Loading…
Reference in New Issue