summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c/lto.h
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
commit004564663381f966d9c11cbd2db0451e3971d610 (patch)
treeae77633490eed3037434edf9c497f8a88eeea1ea /llvm/include/llvm-c/lto.h
parent62eb9a8e843cd9a1b07b7204a3cb3a35d4662b60 (diff)
downloadbcm5719-llvm-004564663381f966d9c11cbd2db0451e3971d610.tar.gz
bcm5719-llvm-004564663381f966d9c11cbd2db0451e3971d610.zip
Make it possible to set the flags passed to the assembler.
Nick, please review. llvm-svn: 110705
Diffstat (limited to 'llvm/include/llvm-c/lto.h')
-rw-r--r--llvm/include/llvm-c/lto.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/lto.h b/llvm/include/llvm-c/lto.h
index d16a38bd3be..34231a22a57 100644
--- a/llvm/include/llvm-c/lto.h
+++ b/llvm/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
OpenPOWER on IntegriCloud