ΒΆextern const void* lto_codegen_compile_optimized(
lto_code_gen_t cg,
size_t* length)
extern const void* lto_codegen_compile_optimized(
lto_code_gen_t cg,
size_t* length)
Description
Generates code for the optimized merged module into one native object file. It will not run any IR optimizations on the merged module. On success returns a pointer to a generated mach-o/ELF buffer and length set to the buffer size. The buffer is owned by the lto_code_gen_t and will be freed when lto_codegen_dispose() is called, or lto_codegen_compile_optimized() is called again. On failure, returns NULL (check lto_get_error_message() for details).
Declared at: llvm/include/llvm-c/lto.h:504
Parameters
- lto_code_gen_t cg
- size_t* length