Use doc_code class.
authorDevang Patel <dpatel@apple.com>
Fri, 27 Oct 2006 23:06:27 +0000 (23:06 +0000)
committerDevang Patel <dpatel@apple.com>
Fri, 27 Oct 2006 23:06:27 +0000 (23:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31239 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LinkTimeOptimization.html

index e237718458f2dcc7edcbeea374048b1792f21e9b..a79efa8693525f6a5d7ab75361d88e708baa792e 100644 (file)
@@ -88,7 +88,7 @@ conservative escape analysis.
     <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 @@ int main() {
 $ llvm-gcc4 --emit-llvm -c a.c -o a.o  # &lt;-- a.o is LLVM bytecode 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
-</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>.