[llvm-commits] [llvm] r41380 - /llvm/trunk/docs/LinkTimeOptimization.html

Tanya Lattner tonic at nondot.org
Fri Aug 24 16:23:23 PDT 2007


Author: tbrethou
Date: Fri Aug 24 18:23:23 2007
New Revision: 41380

URL: http://llvm.org/viewvc/llvm-project?rev=41380&view=rev
Log:
Rename llvm-gcc4 to llvm-gcc.

Modified:
    llvm/trunk/docs/LinkTimeOptimization.html

Modified: llvm/trunk/docs/LinkTimeOptimization.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LinkTimeOptimization.html?rev=41380&r1=41379&r2=41380&view=diff

==============================================================================
--- llvm/trunk/docs/LinkTimeOptimization.html (original)
+++ llvm/trunk/docs/LinkTimeOptimization.html Fri Aug 24 18:23:23 2007
@@ -85,7 +85,7 @@
   <p>The following example illustrates the advantages of LTO's integrated
   approach and clean interface. This example requires a system linker which
   supports LTO through the interface described in this document.  Here,
-  llvm-gcc4 transparently invokes system linker. </p>
+  llvm-gcc transparently invokes system linker. </p>
   <ul>
     <li> Input source file <tt>a.c</tt> is compiled into LLVM bitcode form.
     <li> Input source file <tt>main.c</tt> is compiled into native object code.
@@ -131,9 +131,9 @@
 }
 
 --- command lines ---
-$ llvm-gcc4 --emit-llvm -c a.c -o a.o  # <-- a.o is LLVM bitcode file
-$ llvm-gcc4 -c main.c -o main.o # <-- main.o is native object file
-$ llvm-gcc4 a.o main.o -o main # <-- standard link command without any modifications
+$ llvm-gcc --emit-llvm -c a.c -o a.o  # <-- a.o is LLVM bitcode file
+$ llvm-gcc -c main.c -o main.o # <-- main.o is native object file
+$ llvm-gcc a.o main.o -o main # <-- standard link command without any modifications
 </pre></div>
   <p>In this example, the linker recognizes that <tt>foo2()</tt> is an 
   externally visible symbol defined in LLVM bitcode file. This information 





More information about the llvm-commits mailing list