llvm_sys::lto

Function lto_codegen_set_module

Source
pub unsafe extern "C" fn lto_codegen_set_module(
    cg: lto_code_gen_t,
    _mod: lto_module_t,
)
Expand description

Sets the object module for code gneeration. This will transfer ownership of the module to the code generator.

Added in LLVM 3.7.