[llvm-commits] CVS: llvm/docs/LinkTimeOptimization.html
Devang Patel
dpatel at apple.com
Fri Oct 27 16:06:42 PDT 2006
Changes in directory llvm/docs:
LinkTimeOptimization.html updated: 1.9 -> 1.10
---
Log message:
Use doc_code class.
---
Diffs of the changes: (+3 -3)
LinkTimeOptimization.html | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/docs/LinkTimeOptimization.html
diff -u llvm/docs/LinkTimeOptimization.html:1.9 llvm/docs/LinkTimeOptimization.html:1.10
--- llvm/docs/LinkTimeOptimization.html:1.9 Fri Oct 27 17:02:30 2006
+++ llvm/docs/LinkTimeOptimization.html Fri Oct 27 18:06:27 2006
@@ -88,7 +88,7 @@
<li> Input source file <tt>a.c</tt> is compiled into LLVM byte code form.
<li> Input source file <tt>main.c</tt> is compiled into native object code.
</ul>
-<pre>
+<div class="doc_code"><pre>
--- a.h ---
extern int foo1(void);
extern void foo2(void);
@@ -132,7 +132,7 @@
$ llvm-gcc4 --emit-llvm -c a.c -o a.o # <-- a.o is LLVM bytecode 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
-</pre>
+</pre></div>
<p>In this example, the linker recognizes that <tt>foo2()</tt> is an
externally visible symbol defined in LLVM byte code file. This information
is collected using <a href="#readllvmobjectfile"> readLLVMObjectFile()</a>.
@@ -383,7 +383,7 @@
Devang Patel<br>
<a href="http://llvm.org">LLVM Compiler Infrastructure</a><br>
- Last modified: $Date: 2006/10/27 22:02:30 $
+ Last modified: $Date: 2006/10/27 23:06:27 $
</address>
</body>
More information about the llvm-commits
mailing list