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 | 50f318384c4db1419f9c48d85af350260c4976b8 (patch) | |
tree | a9f2289117d1c965701ec5d7bcb55f96466dc248 /include/llvm-c | |
parent | e1dee8a06e93f38f81f09887361045367a810436 (diff) |
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>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169770 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r-- | include/llvm-c/lto.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/llvm-c/lto.h b/include/llvm-c/lto.h index 2bc0b543a5..74915c0006 100644 --- a/include/llvm-c/lto.h +++ b/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. |