ΒΆextern void lto_codegen_set_diagnostic_handler(
    lto_code_gen_t,
    lto_diagnostic_handler_t,
    void*)

Description

Set a diagnostic handler and the related context (void *). This is more general than lto_get_error_message, as the diagnostic handler can be called at anytime within lto.

Declared at: llvm/include/llvm-c/lto.h:356

Parameters

lto_code_gen_t
lto_diagnostic_handler_t
void*