28#define LLVMErrorSuccess 0
#define LLVM_C_EXTERN_C_BEGIN
#define LLVM_C_EXTERN_C_END
char * LLVMGetErrorMessage(LLVMErrorRef Err)
Returns the given string's error message.
LLVMErrorTypeId LLVMGetErrorTypeId(LLVMErrorRef Err)
Returns the type id for the given error instance, which must be a failure value (i....
LLVMErrorTypeId LLVMGetStringErrorTypeId(void)
Returns the type id for llvm StringError.
void LLVMDisposeErrorMessage(char *ErrMsg)
Dispose of the given error message.
void LLVMCantFail(LLVMErrorRef Err)
Report a fatal error if Err is a failure value.
const void * LLVMErrorTypeId
Error type identifier.
struct LLVMOpaqueError * LLVMErrorRef
Opaque reference to an error instance.
LLVMErrorRef LLVMCreateStringError(const char *ErrMsg)
Create a StringError.
void LLVMConsumeError(LLVMErrorRef Err)
Dispose of the given error without handling it.