aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm-c
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-08-10 18:55:09 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-08-10 18:55:09 +0000
commit98197e55c10176c3ef9100f7d852abbd2347225f (patch)
tree3b00eb54a98821ffcc4bfa091d2181d74f1a0c0c /include/llvm-c
parent9db3ea46cb7bd6bdf108d314daffd0dfd50a73fe (diff)
downloadexternal_llvm-98197e55c10176c3ef9100f7d852abbd2347225f.zip
external_llvm-98197e55c10176c3ef9100f7d852abbd2347225f.tar.gz
external_llvm-98197e55c10176c3ef9100f7d852abbd2347225f.tar.bz2
Make it possible to set the flags passed to the assembler.
Nick, please review. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110705 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r--include/llvm-c/lto.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm-c/lto.h b/include/llvm-c/lto.h
index d16a38b..34231a2 100644
--- a/include/llvm-c/lto.h
+++ b/include/llvm-c/lto.h
@@ -220,6 +220,12 @@ lto_codegen_set_gcc_path(lto_code_gen_t cg, const char* path);
extern void
lto_codegen_set_assembler_path(lto_code_gen_t cg, const char* path);
+/**
+ * Sets extra arguments that libLTO should pass to the assembler.
+ */
+extern void
+lto_codegen_set_assembler_args(lto_code_gen_t cg, const char **args,
+ int nargs);
/**
* Adds to a list of all global symbols that must exist in the final