struct ScopedFatalErrorHandler

Declaration

struct ScopedFatalErrorHandler { /* full declaration omitted */ };

Description

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.

Declared at: llvm/include/llvm/Support/ErrorHandling.h:54

Method Overview

Methods

ScopedFatalErrorHandler(
    llvm::fatal_error_handler_t handler,
    void* user_data = nullptr)

Declared at: llvm/include/llvm/Support/ErrorHandling.h:55

Parameters

llvm::fatal_error_handler_t handler
void* user_data = nullptr

~ScopedFatalErrorHandler()

Declared at: llvm/include/llvm/Support/ErrorHandling.h:60