ΒΆvoid AddSignalHandler(
    llvm::sys::SignalHandlerCallback FnPtr,
    void* Cookie)

Description

Add a function to be called when an abort/kill signal is delivered to the process. The handler can have a cookie passed to it to identify what instance of the handler it is.

Declared at: llvm/include/llvm/Support/Signals.h:66

Parameters

llvm::sys::SignalHandlerCallback FnPtr
void* Cookie