Lines Matching refs:signo
143 void ExceptionHandler::SetupHandler(int signo) {
147 if (sigaction(signo, &act, &old_act) < 0)
149 old_handlers_[signo] = old_act.sa_handler;
152 void ExceptionHandler::TeardownHandler(int signo) {
153 if (old_handlers_.find(signo) != old_handlers_.end()) {
155 act.sa_handler = old_handlers_[signo];
157 sigaction(signo, &act, 0);
168 void ExceptionHandler::HandleException(int signo) {
169 //void ExceptionHandler::HandleException(int signo, siginfo_t *sip, ucontext_t *sig_ctx) {
189 current_handler->TeardownHandler(signo);
192 if (current_handler->InternalWriteMinidump(signo, current_ebp, &sig_ctx)) {
193 // if (current_handler->InternalWriteMinidump(signo, &sig_ctx)) {
199 typedef void (*SignalHandler)(int signo);
201 reinterpret_cast<SignalHandler>(current_handler->old_handlers_[signo]);
203 old_handler(signo);
207 current_handler->SetupHandler(signo);
215 signal(signo, SIG_DFL);
219 bool ExceptionHandler::InternalWriteMinidump(int signo,
246 minidump_path, signo, sighandler_ebp, sig_ctx);