s/lto_codegen_whole_program_optimization/lto_codegen_set_whole_program_optimization/

llvm-svn: 154312
This commit is contained in:
Bill Wendling 2012-04-09 08:32:21 +00:00
parent 4499fb1d50
commit 756a33b1e6
3 changed files with 5 additions and 5 deletions

View File

@ -254,7 +254,7 @@ lto_codegen_set_assembler_args(lto_code_gen_t cg, const char **args,
* 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

View File

@ -183,9 +183,9 @@ void lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg,
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();
}

View File

@ -27,7 +27,7 @@ lto_codegen_set_assembler_args
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