[llvm-commits] CVS: llvm/docs/HowToSubmitABug.html

Misha Brukman brukman at cs.uiuc.edu
Fri May 14 14:04:09 PDT 2004


Changes in directory llvm/docs:

HowToSubmitABug.html updated: 1.20 -> 1.21

---
Log message:

Use <pre> instead of <p><tt> combo to decrease space used for code blocks.


---
Diffs of the changes:  (+37 -31)

Index: llvm/docs/HowToSubmitABug.html
diff -u llvm/docs/HowToSubmitABug.html:1.20 llvm/docs/HowToSubmitABug.html:1.21
--- llvm/docs/HowToSubmitABug.html:1.20	Fri May 14 13:57:24 2004
+++ llvm/docs/HowToSubmitABug.html	Fri May 14 14:04:07 2004
@@ -148,8 +148,7 @@
 <tt>-save-temps</tt> option to <tt><b>llvm-gcc</b></tt>. Then run:</p>
 
 <div class="doc_code">
-<p><tt><b>gccas</b> -debug-pass=Arguments < /dev/null -o - > /dev/null
-</tt></p>
+<pre><b>gccas</b> -debug-pass=Arguments < /dev/null -o - > /dev/null</pre>
 </div>
 
 <p>... which will print a list of arguments, indicating the list of passes that
@@ -172,8 +171,9 @@
 the full list of objects linked).  Then run:</p>
 
 <div class="doc_code">
-<p><tt><b>llvm-as</b> < /dev/null > null.bc
-       <b>gccld</b> -debug-pass=Arguments null.bc</tt></p>
+<pre>
+<b>llvm-as</b> < /dev/null > null.bc
+<b>gccld</b> -debug-pass=Arguments null.bc</tt></p>
 </div>
 
 <p>... which will print a list of arguments, indicating the list of passes that
@@ -196,7 +196,7 @@
 something tractable, use the <tt><b>bugpoint</b></tt> tool as follows:</p>
 
 <div class="doc_code">
-<p><tt><b>bugpoint</b> <input files> <list of passes></tt></p>
+<pre><b>bugpoint</b> <input files> <list of passes></pre>
 </div>
 
 <p><tt><b>bugpoint</b></tt> will print a bunch of output as it reduces the
@@ -242,8 +242,8 @@
 JIT, or LLC) and optionally a series of LLVM passes to run.  For example:</p>
 
 <div class="doc_code">
-<p><tt><b>bugpoint</b> -run-cbe [... optimization passes ...] file-to-test.bc
---args -- [program arguments]</tt></p>
+<pre>
+<b>bugpoint</b> -run-cbe [... optimization passes ...] file-to-test.bc --args -- [program arguments]</pre>
 </div>
 
 <p><tt>bugpoint</tt> will try to narrow down your list of passes to the one pass
@@ -295,8 +295,10 @@
 will pass the program options specified in the Makefiles:</p>
 
 <div class="doc_code">
-<p><tt>cd llvm/test/../../program<br>
-       make bugpoint-jit</tt></p>
+<pre>
+cd llvm/test/../../program
+make bugpoint-jit
+</pre>
 </div>
 
 <p>At the end of a successful <tt>bugpoint</tt> run, you will be presented
@@ -309,28 +311,32 @@
 
 <ol>
 
-  <li><p>Regenerate the shared object from the safe bytecode file:</p>
+<li><p>Regenerate the shared object from the safe bytecode file:</p>
+
+<div class="doc_code">
+<pre>
+<b>llc</b> -march=c safe.bc -o safe.c
+<b>gcc</b> -shared safe.c -o safe.so
+</pre>
+</div></li>
+
+<li><p>If debugging LLC, compile test bytecode native and link with the shared
+    object:</p>
 
-  <div class="doc_code">
-  <p><tt><b>llc</b> -march=c safe.bc -o safe.c<br>
-         <b>gcc</b> -shared safe.c -o safe.so</tt></p>
-  </div></li>
-
-  <li><p>If debugging LLC, compile test bytecode native and link with the shared
-      object:</p>
-
-  <div class="doc_code">
-  <p><tt><b>llc</b> test.bc -o test.s -f<br>
-         <b>gcc</b> test.s safe.so -o test.llc<br>
-         ./test.llc [program options]</tt></p>
-  </div></li>
-      
-  <li><p>If debugging the JIT, load the shared object and supply the test
-      bytecode:</p>
-
-  <div class="doc_code">
-  <p><tt><b>lli</b> -load=safe.so test.bc [program options]</tt></p>
-  </div></li>  
+<div class="doc_code">
+<pre>
+<b>llc</b> test.bc -o test.s -f
+<b>gcc</b> test.s safe.so -o test.llc
+./test.llc [program options]
+</pre>
+</div></li>
+    
+<li><p>If debugging the JIT, load the shared object and supply the test
+    bytecode:</p>
+
+<div class="doc_code">
+<pre><b>lli</b> -load=safe.so test.bc [program options]</pre>
+</div></li>  
 
 </ol>
 
@@ -347,7 +353,7 @@
   <a href="mailto:sabre at nondot.org">Chris Lattner</a><br>
   <a href="http://llvm.cs.uiuc.edu">The LLVM Compiler Infrastructure</a>
   <br>
-  Last modified: $Date: 2004/05/14 18:57:24 $
+  Last modified: $Date: 2004/05/14 19:04:07 $
 </address>
 
 </body>





More information about the llvm-commits mailing list