Make it possible to set the target triple and expose that with an option in the
[oota-llvm.git] / include / llvm-c / lto.h
index 93f37605a41b4df03306516ba58fb85441496f02..d16a38bd3be1a403dfd935422e2a48c691108dde 100644 (file)
@@ -135,6 +135,12 @@ lto_module_dispose(lto_module_t mod);
 extern const char*
 lto_module_get_target_triple(lto_module_t mod);
 
+/**
+ * Sets triple string with which the object will be codegened.
+ */
+extern void
+lto_module_set_target_triple(lto_module_t mod, const char *triple);
+
 
 /**
  * Returns the number of symbols in the object module.