X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=include%2Fllvm-c%2Flto.h;h=d16a38bd3be1a403dfd935422e2a48c691108dde;hp=93f37605a41b4df03306516ba58fb85441496f02;hb=cbb170d057aa6692b19f577b1e09a6c1c7a26969;hpb=3221834f8a6216d01a7e1d1201bd14eafd79cff3 diff --git a/include/llvm-c/lto.h b/include/llvm-c/lto.h index 93f37605a41..d16a38bd3be 100644 --- a/include/llvm-c/lto.h +++ b/include/llvm-c/lto.h @@ -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.