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 | 4680f40d28f1de7b2c8b01ef7422d4e1e001ee01 (patch) | |
tree | 04d183e430ee87b100efb521ad5a39c022ea9e9c /llvm/include/llvm-c | |
parent | 7c62b1e2df601630c9cf5074560763e944974c93 (diff) | |
download | bcm5719-llvm-4680f40d28f1de7b2c8b01ef7422d4e1e001ee01.tar.gz bcm5719-llvm-4680f40d28f1de7b2c8b01ef7422d4e1e001ee01.zip |
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
llvm-svn: 205471
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r-- | llvm/include/llvm-c/lto.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/llvm/include/llvm-c/lto.h b/llvm/include/llvm-c/lto.h index 87904c208cc..049c4d75175 100644 --- a/llvm/include/llvm-c/lto.h +++ b/llvm/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. * |