diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-04-02 22:05:57 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-04-02 22:05:57 +0000 |
commit | 3845c071a7b4ff54d7d8ff4642a66e3a666349d1 (patch) | |
tree | 4162e4420434e64a5f60e7dc60427bcfd1279f57 /tools | |
parent | 172e0ca8c5c7af54cd88a0620ccb72fccce0abef (diff) | |
download | llvm-3845c071a7b4ff54d7d8ff4642a66e3a666349d1.tar.gz llvm-3845c071a7b4ff54d7d8ff4642a66e3a666349d1.tar.bz2 llvm-3845c071a7b4ff54d7d8ff4642a66e3a666349d1.tar.xz |
Revert "Reapply "LTO: add API to set strategy for -internalize""
This reverts commit r199244.
Conflicts:
include/llvm-c/lto.h
include/llvm/LTO/LTOCodeGenerator.h
lib/LTO/LTOCodeGenerator.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205471 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lto/lto.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/lto/lto.cpp b/tools/lto/lto.cpp index 1b1e4626ef..cc8318a8ba 100644 --- a/tools/lto/lto.cpp +++ b/tools/lto/lto.cpp @@ -264,13 +264,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. |