ΒΆvoid LLVMOrcExecutionSessionSetErrorReporter(
    LLVMOrcExecutionSessionRef ES,
    LLVMOrcErrorReporterFunction ReportError,
    void* Ctx)

Description

Attach a custom error reporter function to the ExecutionSession. The error reporter will be called to deliver failure notices that can not be directly reported to a caller. For example, failure to resolve symbols in the JIT linker is typically reported via the error reporter (callers requesting definitions from the JIT will typically be delivered a FailureToMaterialize error instead).

Declared at: llvm/include/llvm-c/Orc.h:482

Parameters

LLVMOrcExecutionSessionRef ES
LLVMOrcErrorReporterFunction ReportError
void* Ctx