diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-04-30 15:29:26 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-04-30 15:29:26 +0000 |
commit | 1d621f71c84c4f4d0574c0fa17fc5a8f6c49b46f (patch) | |
tree | 390eacce373b53c494949c640884a87cc4487acd /include/llvm-c | |
parent | 195bea3498a7de1d84ace6d4685f02d4d7485468 (diff) | |
download | external_llvm-1d621f71c84c4f4d0574c0fa17fc5a8f6c49b46f.zip external_llvm-1d621f71c84c4f4d0574c0fa17fc5a8f6c49b46f.tar.gz external_llvm-1d621f71c84c4f4d0574c0fa17fc5a8f6c49b46f.tar.bz2 |
Oops! Missed a file in my last commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70491 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r-- | include/llvm-c/lto.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm-c/lto.h b/include/llvm-c/lto.h index 98b9e08..8198617 100644 --- a/include/llvm-c/lto.h +++ b/include/llvm-c/lto.h @@ -200,6 +200,14 @@ lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model); /** + * Sets the location of the "gcc" to run. If not set, libLTO will search for + * "gcc" on the path. + */ +extern void +lto_codegen_set_gcc_path(lto_code_gen_t cg, const char* path); + + +/** * Adds to a list of all global symbols that must exist in the final * generated code. If a function is not listed, it might be * inlined into every usage and optimized away. |