diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-09 21:09:46 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-09 21:09:46 +0000 |
commit | 4ef89f5200bbabf5bdb79616940f6be8b130399a (patch) | |
tree | dbec341dae528c3518efa6bd7019b769e1d1eca3 /llvm/include/llvm-c/lto.h | |
parent | c0dc36b2130949cb5d766126d281b8b3ed4f088b (diff) | |
download | bcm5719-llvm-4ef89f5200bbabf5bdb79616940f6be8b130399a.tar.gz bcm5719-llvm-4ef89f5200bbabf5bdb79616940f6be8b130399a.zip |
Make it possible to set the target triple and expose that with an option in the
gold plugin.
llvm-svn: 110604
Diffstat (limited to 'llvm/include/llvm-c/lto.h')
-rw-r--r-- | llvm/include/llvm-c/lto.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/lto.h b/llvm/include/llvm-c/lto.h index 93f37605a41..d16a38bd3be 100644 --- a/llvm/include/llvm-c/lto.h +++ b/llvm/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. |