Searched refs:PreviousHandler (Results 1 – 2 of 2) sorted by relevance
/external/gwp_asan/gwp_asan/optional/ |
D | segv_handler_posix.cpp | 155 struct sigaction PreviousHandler; variable 174 if (PreviousHandler.sa_flags & SA_SIGINFO) { in sigSegvHandler() 175 PreviousHandler.sa_sigaction(sig, info, ucontext); in sigSegvHandler() 176 } else if (PreviousHandler.sa_handler == SIG_DFL) { in sigSegvHandler() 180 } else if (PreviousHandler.sa_handler == SIG_IGN) { in sigSegvHandler() 189 PreviousHandler.sa_handler(sig); in sigSegvHandler() 214 sigaction(SIGSEGV, &Action, &PreviousHandler); in installSignalHandlers() 220 sigaction(SIGSEGV, &PreviousHandler, nullptr); in uninstallSignalHandlers()
|
/external/llvm-project/compiler-rt/lib/gwp_asan/optional/ |
D | segv_handler_posix.cpp | 28 struct sigaction PreviousHandler; variable 47 if (PreviousHandler.sa_flags & SA_SIGINFO) { in sigSegvHandler() 48 PreviousHandler.sa_sigaction(sig, info, ucontext); in sigSegvHandler() 49 } else if (PreviousHandler.sa_handler == SIG_DFL) { in sigSegvHandler() 53 } else if (PreviousHandler.sa_handler == SIG_IGN) { in sigSegvHandler() 62 PreviousHandler.sa_handler(sig); in sigSegvHandler() 150 sigaction(SIGSEGV, &Action, &PreviousHandler); in installSignalHandlers() 156 sigaction(SIGSEGV, &PreviousHandler, nullptr); in uninstallSignalHandlers()
|