ΒΆchar* LLVMGetErrorMessage(LLVMErrorRef Err)

Description

Returns the given string's error message. This operation consumes the error, and the given LLVMErrorRef value is not usable once this call returns. The caller is responsible for disposing of the string by calling LLVMDisposeErrorMessage.

Declared at: llvm/include/llvm-c/Error.h:53

Parameters

LLVMErrorRef Err