Install handler for fatal signals. The list of signals being handled is in SignalHandler.cpp.
Declared in <folly/debugging/symbolizer/SignalHandler.h>
void
installFatalSignalHandler(std::bitset<64> signals = std::bitset<64>(kAllFatalSignals));
The handler will dump signal and time information followed by a stack trace to stderr, and then call the callbacks registered below.
The signals parameter can be used to specify only specific fatal signals for which the handler should be installed. Only signals from kAllFatalSignals are honored in this list, other signals are ignored.
| Name | Description |
|---|---|
| signals | The set of fatal signals to install the handler for. |