llvm_sys::error_handling

Function LLVMInstallFatalErrorHandler

Source
pub unsafe extern "C" fn LLVMInstallFatalErrorHandler(
    Handler: LLVMFatalErrorHandler,
)
Expand description

Install a fatal error handler.

LLVM will call exit(1) if it detects a fatal error. A callback registered with this function will be invoked before the program is exited.