summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-12-10 21:33:45 +0000
committerBill Wendling <isanbard@gmail.com>2012-12-10 21:33:45 +0000
commit4a8fc8f27177366a5649744a45c72c2efa1f99f5 (patch)
treef548616aca4483346a3bb970eb7bf143fddb2573 /llvm/include/llvm-c
parentdcb992d474144b04aa6c8e6f37bc4cfb0f34bcfb (diff)
downloadbcm5719-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.h7
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.
OpenPOWER on IntegriCloud