mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
Revert r199191, "LTO: add API to set strategy for -internalize"
Please update also Other/link-opts.ll, in next time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199197 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -252,13 +252,6 @@ void lto_codegen_set_assembler_args(lto_code_gen_t cg, const char **args,
|
||||
// In here only for backwards compatibility. We use MC now.
|
||||
}
|
||||
|
||||
/// lto_codegen_set_internalize_strategy - Sets the strategy to use during
|
||||
/// internalize.
|
||||
void lto_codegen_set_internalize_strategy(lto_code_gen_t cg,
|
||||
lto_internalize_strategy strategy) {
|
||||
cg->setInternalizeStrategy(strategy);
|
||||
}
|
||||
|
||||
/// lto_codegen_add_must_preserve_symbol - Adds to a list of all global symbols
|
||||
/// that must exist in the final generated code. If a function is not listed
|
||||
/// there, it might be inlined into every usage and optimized away.
|
||||
|
Reference in New Issue
Block a user