Oops! Missed a file in my last commit.
authorNick Lewycky <nicholas@mxc.ca>
Thu, 30 Apr 2009 15:29:26 +0000 (15:29 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 30 Apr 2009 15:29:26 +0000 (15:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70491 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm-c/lto.h

index 98b9e0868ad1f60dc0e67c8d8cb87be937c8ac42..819861769084e67a5ddd703f0d92e94c9fbd8eea 100644 (file)
@@ -199,6 +199,14 @@ extern bool
 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