[llvm-commits] [llvm] r154312 - in /llvm/trunk: include/llvm-c/lto.h tools/lto/lto.cpp tools/lto/lto.exports

Bill Wendling isanbard at gmail.com
Mon Apr 9 01:32:21 PDT 2012


Author: void
Date: Mon Apr  9 03:32:21 2012
New Revision: 154312

URL: http://llvm.org/viewvc/llvm-project?rev=154312&view=rev
Log:
s/lto_codegen_whole_program_optimization/lto_codegen_set_whole_program_optimization/

Modified:
    llvm/trunk/include/llvm-c/lto.h
    llvm/trunk/tools/lto/lto.cpp
    llvm/trunk/tools/lto/lto.exports

Modified: llvm/trunk/include/llvm-c/lto.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/lto.h?rev=154312&r1=154311&r2=154312&view=diff
==============================================================================
--- llvm/trunk/include/llvm-c/lto.h (original)
+++ llvm/trunk/include/llvm-c/lto.h Mon Apr  9 03:32:21 2012
@@ -254,7 +254,7 @@
  * 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

Modified: llvm/trunk/tools/lto/lto.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/lto.cpp?rev=154312&r1=154311&r2=154312&view=diff
==============================================================================
--- llvm/trunk/tools/lto/lto.cpp (original)
+++ llvm/trunk/tools/lto/lto.cpp Mon Apr  9 03:32:21 2012
@@ -183,9 +183,9 @@
   cg->addMustPreserveSymbol(symbol);
 }
 
-/// lto_codegen_whole_program_optimization - Enable the internalize pass during
-/// LTO optimizations.
-void lto_codegen_whole_program_optimization(lto_code_gen_t cg) {
+/// lto_codegen_set_whole_program_optimization - Enable the internalize pass
+/// during LTO optimizations.
+void lto_codegen_set_whole_program_optimization(lto_code_gen_t cg) {
   cg->enableInternalizePass();
 }
 

Modified: llvm/trunk/tools/lto/lto.exports
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/lto.exports?rev=154312&r1=154311&r2=154312&view=diff
==============================================================================
--- llvm/trunk/tools/lto/lto.exports (original)
+++ llvm/trunk/tools/lto/lto.exports Mon Apr  9 03:32:21 2012
@@ -27,7 +27,7 @@
 lto_codegen_set_assembler_path
 lto_codegen_set_cpu
 lto_codegen_compile_to_file
-lto_codegen_whole_program_optimization
+lto_codegen_set_whole_program_optimization
 LLVMCreateDisasm
 LLVMDisasmDispose
 LLVMDisasmInstruction





More information about the llvm-commits mailing list