summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-04-30 15:29:26 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-04-30 15:29:26 +0000
commite6141a5d6f6cf4520caffa6f9700b0ec9f34e765 (patch)
tree97f6913fb2d2172cbfc9bb879fca8838a2cb4668 /llvm/include/llvm-c
parenta303097de0c7924f1dffc9d0237260d644d0ef79 (diff)
downloadbcm5719-llvm-e6141a5d6f6cf4520caffa6f9700b0ec9f34e765.tar.gz
bcm5719-llvm-e6141a5d6f6cf4520caffa6f9700b0ec9f34e765.zip
Oops! Missed a file in my last commit.
llvm-svn: 70491
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/lto.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/lto.h b/llvm/include/llvm-c/lto.h
index 98b9e0868ad..81986176908 100644
--- a/llvm/include/llvm-c/lto.h
+++ b/llvm/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.
OpenPOWER on IntegriCloud