LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
ErrorHandling.cpp File Reference
#include "llvm/Support/ErrorHandling.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Config/config.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Signals.h"
#include "llvm/Support/Threading.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm-c/Core.h"
#include <cassert>
#include <cstdlib>
#include <unistd.h>
Include dependency graph for ErrorHandling.cpp:

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 = 0
 
static void * ErrorHandlerUserData = 0
 

Function Documentation

static void bindingsErrorHandler ( void *  user_data,
const std::string &  reason,
bool  gen_crash_diag 
)
static

Definition at line 107 of file ErrorHandling.cpp.

References LLVM_EXTENSION.

Referenced by LLVMInstallFatalErrorHandler().

Variable Documentation

fatal_error_handler_t ErrorHandler = 0
static
void* ErrorHandlerUserData = 0
static