Add a comment to note that LLVMDisablePrettyStackTrace() is likely not a good long...
[oota-llvm.git] / include / llvm-c / lto.h
index 02105bcde96311ed9307a73b5d22bc0e4de9f753..89f54b7a7b7470fd9ea9aa46d2e32a4bd550ed0c 100644 (file)
@@ -24,9 +24,9 @@
 #include <stdbool.h>
 typedef bool lto_bool_t;
 #else
-// MSVC in particular does not have anything like _Bool or bool in C, but we can
-// at least make sure the type is the same size.  The implementation side will
-// use C++ bool.
+/* MSVC in particular does not have anything like _Bool or bool in C, but we can
+   at least make sure the type is the same size.  The implementation side will
+   use C++ bool. */
 typedef unsigned char lto_bool_t;
 #endif
 #else
@@ -270,15 +270,6 @@ lto_codegen_set_assembler_args(lto_code_gen_t cg, const char **args,
 extern void
 lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, const char* symbol);
 
-
-/**
- * Tells LTO optimization passes that a dynamic shared library is being
- * built and this symbol may be exported. Unless IR semantics allow the symbol
- * to be made local to the library, it should remain so it can be exported by
- * the shared library.
- */
-extern void lto_codegen_add_dso_symbol(lto_code_gen_t cg, const char *symbol);
-
 /**
  * Writes a new object file at the specified path that contains the
  * merged contents of all modules added so far.