diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-05-14 19:04:07 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-05-14 19:04:07 +0000 |
commit | 3c687a0925872f81e8c95641aa0d5097a5caaeae (patch) | |
tree | 79b20840f725902bd2decc9492e843e32cf3ce7b /docs/HowToSubmitABug.html | |
parent | 1e4ae2b329b9a7ec5b34299ac96fd2f8ef17967c (diff) |
Use <pre> instead of <p><tt> combo to decrease space used for code blocks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13573 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/HowToSubmitABug.html')
-rw-r--r-- | docs/HowToSubmitABug.html | 60 |
1 files changed, 33 insertions, 27 deletions
diff --git a/docs/HowToSubmitABug.html b/docs/HowToSubmitABug.html index b07d6cf1bb..b94479594d 100644 --- a/docs/HowToSubmitABug.html +++ b/docs/HowToSubmitABug.html @@ -148,8 +148,7 @@ compilation, compile your test-case to a <tt>.s</tt> file with the <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 @@ being linked together (the "<tt><b>llvm-gcc</b> -v</tt>" output should include 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 @@ order to reduce the list of passes (which is probably large) and the input to 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 @@ which code generator you wish to compile the program with (e.g. C backend, the 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 @@ debug the JIT, LLC, and CBE, using the pre-written Makefile targets, which 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 @@ the following:</p> <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"> - <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> +<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> +<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"> +<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"> - <p><tt><b>lli</b> -load=safe.so test.bc [program options]</tt></p> - </div></li> +<div class="doc_code"> +<pre><b>lli</b> -load=safe.so test.bc [program options]</pre> +</div></li> </ol> |