summaryrefslogtreecommitdiffstats
path: root/llvm/docs/LinkTimeOptimization.html
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2007-08-24 23:23:23 +0000
committerTanya Lattner <tonic@nondot.org>2007-08-24 23:23:23 +0000
commitebd4e7ba2fff7b4e6197dfef8fca8353bc54649b (patch)
tree58a1c814b7aa8612f8788c7ce4388ab17438be75 /llvm/docs/LinkTimeOptimization.html
parent0c1c7ed5e64b497e333928d08627e5ef13e9d072 (diff)
downloadbcm5719-llvm-ebd4e7ba2fff7b4e6197dfef8fca8353bc54649b.tar.gz
bcm5719-llvm-ebd4e7ba2fff7b4e6197dfef8fca8353bc54649b.zip
Rename llvm-gcc4 to llvm-gcc.
llvm-svn: 41380
Diffstat (limited to 'llvm/docs/LinkTimeOptimization.html')
-rw-r--r--llvm/docs/LinkTimeOptimization.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/docs/LinkTimeOptimization.html b/llvm/docs/LinkTimeOptimization.html
index fdae78a2a1f..1f28d7c8403 100644
--- a/llvm/docs/LinkTimeOptimization.html
+++ b/llvm/docs/LinkTimeOptimization.html
@@ -85,7 +85,7 @@ conservative escape analysis.
<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 @@ int main() {
}
--- command lines ---
-$ llvm-gcc4 --emit-llvm -c a.c -o a.o # &lt;-- a.o is LLVM bitcode file
-$ llvm-gcc4 -c main.c -o main.o # &lt;-- main.o is native object file
-$ llvm-gcc4 a.o main.o -o main # &lt;-- standard link command without any modifications
+$ llvm-gcc --emit-llvm -c a.c -o a.o # &lt;-- a.o is LLVM bitcode file
+$ llvm-gcc -c main.c -o main.o # &lt;-- main.o is native object file
+$ llvm-gcc a.o main.o -o main # &lt;-- 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
OpenPOWER on IntegriCloud