git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154312
91177308-0d34-0410-b5e6-
96231b3b80d8
* Enables the internalize pass during LTO optimizations.
*/
extern void
-lto_codegen_whole_program_optimization(lto_code_gen_t cg);
+lto_codegen_set_whole_program_optimization(lto_code_gen_t cg);
/**
* Adds to a list of all global symbols that must exist in the final
cg->addMustPreserveSymbol(symbol);
}
-/// lto_codegen_whole_program_optimization - Enable the internalize pass during
-/// LTO optimizations.
-void lto_codegen_whole_program_optimization(lto_code_gen_t cg) {
+/// lto_codegen_set_whole_program_optimization - Enable the internalize pass
+/// during LTO optimizations.
+void lto_codegen_set_whole_program_optimization(lto_code_gen_t cg) {
cg->enableInternalizePass();
}
lto_codegen_set_assembler_path
lto_codegen_set_cpu
lto_codegen_compile_to_file
-lto_codegen_whole_program_optimization
+lto_codegen_set_whole_program_optimization
LLVMCreateDisasm
LLVMDisasmDispose
LLVMDisasmInstruction