| 364 | } |
| 365 | |
| 366 | void ReinstallCrashHandler() { |
| 367 | // This is used to re-enable the metrics-recording crash handler after |
| 368 | // MonitorSelf() sets up a Crashpad exception handler. On macOS, the |
| 369 | // metrics-recording handler uses signals and the Crashpad handler uses Mach |
| 370 | // exceptions, so there’s nothing to re-enable. |
| 371 | // On Linux, the signal handler installed by StartHandler() restores the |
| 372 | // previously installed signal handler by default. |
| 373 | } |
| 374 | |
| 375 | void InstallCrashHandler() { |
| 376 | Signals::InstallCrashHandlers(HandleCrashSignal, 0, nullptr); |
no outgoing calls
no test coverage detected