LLVM API Documentation

ErrorHandling.cpp File Reference

#include "llvm/ADT/Twine.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/System/Threading.h"
#include <cassert>
#include <cstdlib>

Include dependency graph for ErrorHandling.cpp:

Go to the source code of this file.

Namespaces

namespace  llvm

Functions

void llvm::llvm_install_error_handler (llvm_error_handler_t handler, void *user_data=0)
void llvm::llvm_remove_error_handler ()
void llvm::llvm_report_error (const char *reason) NORETURN
void llvm::llvm_report_error (const std::string &reason) NORETURN
void llvm::llvm_report_error (const Twine &reason) NORETURN
void llvm::llvm_unreachable_internal (const char *msg=0, const char *file=0, unsigned line=0) NORETURN

Variables

static llvm_error_handler_t ErrorHandler = 0
static void * ErrorHandlerUserData = 0


Variable Documentation

llvm_error_handler_t ErrorHandler = 0 [static]

void* ErrorHandlerUserData = 0 [static]

Definition at line 26 of file ErrorHandling.cpp.

Referenced by llvm::llvm_install_error_handler(), and llvm::llvm_report_error().