diff options
Diffstat (limited to 'include/llvm-c')
-rw-r--r-- | include/llvm-c/lto.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm-c/lto.h b/include/llvm-c/lto.h index 34231a2..67b27a8 100644 --- a/include/llvm-c/lto.h +++ b/include/llvm-c/lto.h @@ -206,6 +206,13 @@ lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model); /** + * Sets the cpu to generate code for. + */ +extern void +lto_codegen_set_cpu(lto_code_gen_t cg, const char *cpu); + + +/** * Sets the location of the "gcc" to run. If not set, libLTO will search for * "gcc" on the path. */ |