llvm_sys::lto

Function thinlto_create_codegen

source
pub unsafe extern "C" fn thinlto_create_codegen() -> thinlto_code_gen_t
Expand description

Instantiates a ThinLTO code generator.

Returns null on error (check lto_get_error_message for details).

The code generator should not be reused.