LLVM API Documentation
#include "llvm/Support/ErrorHandling.h"
#include "llvm-c/Core.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Config/config.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/Signals.h"
#include "llvm/Support/Mutex.h"
#include "llvm/Support/MutexGuard.h"
#include "llvm/Support/Threading.h"
#include "llvm/Support/WindowsError.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <cstdlib>
#include <unistd.h>
Go to the source code of this file.
Functions | |
static void | bindingsErrorHandler (void *user_data, const std::string &reason, bool gen_crash_diag) |
void | LLVMInstallFatalErrorHandler (LLVMFatalErrorHandler Handler) |
void | LLVMResetFatalErrorHandler () |
Variables | |
static fatal_error_handler_t | ErrorHandler = nullptr |
static void * | ErrorHandlerUserData = nullptr |
static sys::Mutex | ErrorHandlerMutex |
static void bindingsErrorHandler | ( | void * | user_data, |
const std::string & | reason, | ||
bool | gen_crash_diag | ||
) | [static] |
Definition at line 124 of file ErrorHandling.cpp.
References LLVM_EXTENSION.
Referenced by LLVMInstallFatalErrorHandler().
fatal_error_handler_t ErrorHandler = nullptr [static] |
Definition at line 41 of file ErrorHandling.cpp.
Referenced by llvm::install_fatal_error_handler(), llvm::remove_fatal_error_handler(), and llvm::report_fatal_error().
sys::Mutex ErrorHandlerMutex [static] |
Definition at line 44 of file ErrorHandling.cpp.
Referenced by llvm::install_fatal_error_handler(), llvm::remove_fatal_error_handler(), and llvm::report_fatal_error().
void* ErrorHandlerUserData = nullptr [static] |
Definition at line 42 of file ErrorHandling.cpp.
Referenced by llvm::install_fatal_error_handler(), llvm::remove_fatal_error_handler(), and llvm::report_fatal_error().