summaryrefslogtreecommitdiff
path: root/include/llvm-c/lto.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm-c/lto.h')
-rw-r--r--include/llvm-c/lto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm-c/lto.h b/include/llvm-c/lto.h
index c0f4c6b30c..5d9cecbc51 100644
--- a/include/llvm-c/lto.h
+++ b/include/llvm-c/lto.h
@@ -254,7 +254,7 @@ lto_codegen_set_assembler_args(lto_code_gen_t cg, const char **args,
* Enables the internalize pass during LTO optimizations.
*/
extern void
-lto_codegen_whole_program_optimization(lto_code_gen_t cg);
+lto_codegen_set_whole_program_optimization(lto_code_gen_t cg);
/**
* Adds to a list of all global symbols that must exist in the final