diff options
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r-- | llvm/include/llvm-c/lto.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/lto.h b/llvm/include/llvm-c/lto.h index 34231a22a57..67b27a8e665 100644 --- a/llvm/include/llvm-c/lto.h +++ b/llvm/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. */ |