diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-12-10 21:33:45 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-12-10 21:33:45 +0000 |
commit | 4a8fc8f27177366a5649744a45c72c2efa1f99f5 (patch) | |
tree | f548616aca4483346a3bb970eb7bf143fddb2573 /llvm/include/llvm-c | |
parent | dcb992d474144b04aa6c8e6f37bc4cfb0f34bcfb (diff) | |
download | bcm5719-llvm-4a8fc8f27177366a5649744a45c72c2efa1f99f5.tar.gz bcm5719-llvm-4a8fc8f27177366a5649744a45c72c2efa1f99f5.zip |
Revert r169656.
The linker will call `lto_codegen_add_must_preserve_symbol' on all globals that
should be kept around. The linker will pretend that a dylib is being created.
<rdar://problem/12528059>
llvm-svn: 169770
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r-- | llvm/include/llvm-c/lto.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/include/llvm-c/lto.h b/llvm/include/llvm-c/lto.h index 2bc0b543a5b..74915c0006f 100644 --- a/llvm/include/llvm-c/lto.h +++ b/llvm/include/llvm-c/lto.h @@ -251,13 +251,6 @@ lto_codegen_set_assembler_args(lto_code_gen_t cg, const char **args, int nargs); /** - * If set, then codegen will export all symbols (e.g. the internalize - * pass won't run). - */ -extern void -lto_codegen_set_export_dynamic(lto_code_gen_t cg, bool val); - -/** * Adds to a list of all global symbols that must exist in the final * generated code. If a function is not listed, it might be * inlined into every usage and optimized away. |