Function llvm_sys::lto::thinlto_codegen_add_module
source ยท pub unsafe extern "C" fn thinlto_codegen_add_module(
cg: thinlto_code_gen_t,
identifier: *const c_char,
data: *const c_char,
length: c_int,
)
Expand description
Add a module to a code generator.
Identifier must be unique among all the modules in the code generator. The data buffer remains owned by the client, and must live at least as long as the code generator.
Returns null on failure.