From 4a8fc8f27177366a5649744a45c72c2efa1f99f5 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 10 Dec 2012 21:33:45 +0000 Subject: 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. llvm-svn: 169770 --- llvm/include/llvm-c/lto.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'llvm/include/llvm-c/lto.h') 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 @@ -250,13 +250,6 @@ extern void 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 -- cgit v1.2.3