mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 18:24:23 +00:00
Remove lto_codegen_set_whole_program_optimization. It is a work in progress,
so we don't want it to show up in the stable 3.1 interface. While at it, add a comment about why LTOCodeGenerator manually creates the internalize pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154807 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -183,12 +183,6 @@ void lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg,
|
||||
cg->addMustPreserveSymbol(symbol);
|
||||
}
|
||||
|
||||
/// 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_write_merged_modules - Writes a new file at the specified path
|
||||
/// that contains the merged contents of all modules added so far. Returns true
|
||||
/// on error (check lto_get_error_message() for details).
|
||||
|
Reference in New Issue
Block a user