mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
s/lto_codegen_whole_program_optimization/lto_codegen_set_whole_program_optimization/
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154312 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -254,7 +254,7 @@ lto_codegen_set_assembler_args(lto_code_gen_t cg, const char **args,
|
|||||||
* Enables the internalize pass during LTO optimizations.
|
* Enables the internalize pass during LTO optimizations.
|
||||||
*/
|
*/
|
||||||
extern void
|
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
|
* Adds to a list of all global symbols that must exist in the final
|
||||||
|
@@ -183,9 +183,9 @@ void lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg,
|
|||||||
cg->addMustPreserveSymbol(symbol);
|
cg->addMustPreserveSymbol(symbol);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// lto_codegen_whole_program_optimization - Enable the internalize pass during
|
/// lto_codegen_set_whole_program_optimization - Enable the internalize pass
|
||||||
/// LTO optimizations.
|
/// during LTO optimizations.
|
||||||
void lto_codegen_whole_program_optimization(lto_code_gen_t cg) {
|
void lto_codegen_set_whole_program_optimization(lto_code_gen_t cg) {
|
||||||
cg->enableInternalizePass();
|
cg->enableInternalizePass();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -27,7 +27,7 @@ lto_codegen_set_assembler_args
|
|||||||
lto_codegen_set_assembler_path
|
lto_codegen_set_assembler_path
|
||||||
lto_codegen_set_cpu
|
lto_codegen_set_cpu
|
||||||
lto_codegen_compile_to_file
|
lto_codegen_compile_to_file
|
||||||
lto_codegen_whole_program_optimization
|
lto_codegen_set_whole_program_optimization
|
||||||
LLVMCreateDisasm
|
LLVMCreateDisasm
|
||||||
LLVMDisasmDispose
|
LLVMDisasmDispose
|
||||||
LLVMDisasmInstruction
|
LLVMDisasmInstruction
|
||||||
|
Reference in New Issue
Block a user