Teach LTOModule to emit linker flags for dllexported symbols, plus interface cleanup.
[oota-llvm.git] / include / llvm-c / lto.h
index 9f37dd71e31c8785edf768cb7321232f6bc7f2cf..0ccb0e9a584c0c85216ac0aef240e5f1297b74d9 100644 (file)
@@ -282,6 +282,8 @@ lto_module_get_symbol_attribute(lto_module_t mod, unsigned int index);
 /**
  * Returns the number of dependent libraries in the object module.
  *
+ * Deprecated. Now returns an empty list.
+ *
  * \since LTO_API_VERSION=8
  */
 extern unsigned int
@@ -291,6 +293,8 @@ lto_module_get_num_deplibs(lto_module_t mod);
 /**
  * Returns the ith dependent library in the module.
  *
+ * Deprecated. Now always returns null.
+ *
  * \since LTO_API_VERSION=8
  */
 extern const char*
@@ -300,6 +304,9 @@ lto_module_get_deplib(lto_module_t mod, unsigned int index);
 /**
  * Returns the number of linker options in the object module.
  *
+ * Each linker option may consist of multiple flags. It is the linker's
+ * responsibility to split the flags using a platform-specific mechanism.
+ *
  * \since LTO_API_VERSION=8
  */
 extern unsigned int
@@ -309,6 +316,9 @@ lto_module_get_num_linkeropts(lto_module_t mod);
 /**
  * Returns the ith linker option in the module.
  *
+ * Each linker option may consist of multiple flags. It is the linker's
+ * responsibility to split the flags using a platform-specific mechanism.
+ *
  * \since LTO_API_VERSION=8
  */
 extern const char*