LLVM API Documentation
#include <ErrorHandling.h>
Public Member Functions | |
ScopedFatalErrorHandler (fatal_error_handler_t handler, void *user_data=nullptr) | |
~ScopedFatalErrorHandler () |
ScopedFatalErrorHandler - This is a simple helper class which just calls install_fatal_error_handler in its constructor and remove_fatal_error_handler in its destructor.
Definition at line 55 of file ErrorHandling.h.
llvm::ScopedFatalErrorHandler::ScopedFatalErrorHandler | ( | fatal_error_handler_t | handler, |
void * | user_data = nullptr |
||
) | [inline, explicit] |
Definition at line 56 of file ErrorHandling.h.
References llvm::install_fatal_error_handler().
Definition at line 61 of file ErrorHandling.h.
References llvm::remove_fatal_error_handler().