diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-10 18:55:09 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-10 18:55:09 +0000 |
commit | 004564663381f966d9c11cbd2db0451e3971d610 (patch) | |
tree | ae77633490eed3037434edf9c497f8a88eeea1ea /llvm/include/llvm-c | |
parent | 62eb9a8e843cd9a1b07b7204a3cb3a35d4662b60 (diff) | |
download | bcm5719-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')
-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 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 |