summaryrefslogtreecommitdiff
path: root/include/llvm-c
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-04-02 22:05:57 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-04-02 22:05:57 +0000
commit3845c071a7b4ff54d7d8ff4642a66e3a666349d1 (patch)
tree4162e4420434e64a5f60e7dc60427bcfd1279f57 /include/llvm-c
parent172e0ca8c5c7af54cd88a0620ccb72fccce0abef (diff)
downloadllvm-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 'include/llvm-c')
-rw-r--r--include/llvm-c/lto.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/include/llvm-c/lto.h b/include/llvm-c/lto.h
index 87904c208c..049c4d7517 100644
--- a/include/llvm-c/lto.h
+++ b/include/llvm-c/lto.h
@@ -82,15 +82,6 @@ typedef enum {
LTO_CODEGEN_PIC_MODEL_DYNAMIC_NO_PIC = 2
} lto_codegen_model;
-/**
- * \since LTO_API_VERSION=6
- */
-typedef enum {
- LTO_INTERNALIZE_FULL = 0,
- LTO_INTERNALIZE_NONE = 1,
- LTO_INTERNALIZE_HIDDEN = 2
-} lto_internalize_strategy;
-
/** opaque reference to a loaded object module */
typedef struct LTOModule* lto_module_t;
@@ -403,16 +394,6 @@ lto_codegen_set_assembler_args(lto_code_gen_t cg, const char **args,
int nargs);
/**
- * Sets the strategy to use during internalize. Default strategy is
- * LTO_INTERNALIZE_FULL.
- *
- * \since LTO_API_VERSION=6
- */
-extern void
-lto_codegen_set_internalize_strategy(lto_code_gen_t cg,
- lto_internalize_strategy);
-
-/**
* Tells LTO optimization passes that this symbol must be preserved
* because it is referenced by native code or a command line option.
*