diff options
author | Tanya Lattner <tonic@nondot.org> | 2007-08-24 23:23:23 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2007-08-24 23:23:23 +0000 |
commit | 5efa7e9c967161c1185a52aa1e88e4b85e0fa046 (patch) | |
tree | c8ae9a60852b7c4bea2c87146380f8cc09acc8e0 /docs | |
parent | 12595d7b165bf460b18f4ddd395dd29e6e6e68bc (diff) | |
download | external_llvm-5efa7e9c967161c1185a52aa1e88e4b85e0fa046.zip external_llvm-5efa7e9c967161c1185a52aa1e88e4b85e0fa046.tar.gz external_llvm-5efa7e9c967161c1185a52aa1e88e4b85e0fa046.tar.bz2 |
Rename llvm-gcc4 to llvm-gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41380 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/LinkTimeOptimization.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/LinkTimeOptimization.html b/docs/LinkTimeOptimization.html index fdae78a..1f28d7c 100644 --- a/docs/LinkTimeOptimization.html +++ b/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 # <-- 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 |