summaryrefslogtreecommitdiff
path: root/tools/lto
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-01-14 09:40:18 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-01-14 09:40:18 +0000
commitd13b9da1b6575329cebcaadb31fcf8f200cbd2c6 (patch)
tree8470325bcc2c972cf1b5091769c022e5b47bf650 /tools/lto
parent8e31bc35ecd78d23fc5999f4dd24d8152a97f0fa (diff)
downloadllvm-d13b9da1b6575329cebcaadb31fcf8f200cbd2c6.tar.gz
llvm-d13b9da1b6575329cebcaadb31fcf8f200cbd2c6.tar.bz2
llvm-d13b9da1b6575329cebcaadb31fcf8f200cbd2c6.tar.xz
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
Diffstat (limited to 'tools/lto')
-rw-r--r--tools/lto/lto.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/lto/lto.cpp b/tools/lto/lto.cpp
index a28257f6ab..59b778dcc9 100644
--- a/tools/lto/lto.cpp
+++ b/tools/lto/lto.cpp
@@ -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.