diff --git a/include/llvm-c/lto.h b/include/llvm-c/lto.h index 67b27a8e665..95b3d85a72e 100644 --- a/include/llvm-c/lto.h +++ b/include/llvm-c/lto.h @@ -212,14 +212,6 @@ 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. - */ -extern void -lto_codegen_set_gcc_path(lto_code_gen_t cg, const char* path); - - /** * Sets the location of the assembler tool to run. If not set, libLTO * will use gcc to invoke the assembler. diff --git a/tools/lto/lto.exports b/tools/lto/lto.exports index 3c67cee999f..4dbf760d388 100644 --- a/tools/lto/lto.exports +++ b/tools/lto/lto.exports @@ -24,4 +24,3 @@ lto_codegen_debug_options lto_codegen_set_assembler_args lto_codegen_set_assembler_path lto_codegen_set_cpu -lto_codegen_set_gcc_path