summaryrefslogtreecommitdiffstats
path: root/llvm/docs/HowToSubmitABug.html
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-05-23 21:03:50 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-05-23 21:03:50 +0000
commit627b9f4d6d169f2709e42f7d02b3774027e6e2f4 (patch)
treee899a9e77253a4a7076617815973b95210c985f7 /llvm/docs/HowToSubmitABug.html
parentb752116230787178f92bf8667d2d2f7e18051da8 (diff)
downloadbcm5719-llvm-627b9f4d6d169f2709e42f7d02b3774027e6e2f4.tar.gz
bcm5719-llvm-627b9f4d6d169f2709e42f7d02b3774027e6e2f4.zip
Suggest -save-temps instead of -S, -E.
llvm-svn: 6318
Diffstat (limited to 'llvm/docs/HowToSubmitABug.html')
-rw-r--r--llvm/docs/HowToSubmitABug.html17
1 files changed, 10 insertions, 7 deletions
diff --git a/llvm/docs/HowToSubmitABug.html b/llvm/docs/HowToSubmitABug.html
index 387e1a5523e..7b546750d90 100644
--- a/llvm/docs/HowToSubmitABug.html
+++ b/llvm/docs/HowToSubmitABug.html
@@ -95,11 +95,14 @@ have at this point.
<a name="front-end">Front-end bugs
</b></font></td></tr></table><ul>
-If the problem is in the front-end, pretty much the only thing you can do is
-preprocess the input (compile with the <tt>-E</tt> option) and send us the
-results. There is no good way to reduce source-level test-cases that I know
-of... if you do know, send me information and we can extend this section. :)<p>
-
+If the problem is in the front-end, you should re-run the same
+<tt>llvm-gcc</tt> command that resulted in the crash, but add the
+<tt>-save-temps</tt> option. The compiler will crash again, but it
+will leave behind a <tt><i>foo</i>.i</tt> file (containing preprocessed
+C source code) and possibly <tt><i>foo</i>.s</tt> (containing LLVM
+assembly code), for each compiled <tt><i>foo</i>.c</tt> file. Send us
+the <tt><i>foo</i>.i</tt> file, along with a brief description of the
+error it caused.<p>
<!-- ======================================================================= -->
</ul><table width="100%" bgcolor="#441188" border=0 cellpadding=4 cellspacing=0>
@@ -109,8 +112,8 @@ of... if you do know, send me information and we can extend this section. :)<p>
</b></font></td></tr></table><ul>
If you find that a bug crashes in the <tt><b>gccas</b></tt> stage of
-compilation, compile your test-case to a <tt>.s</tt> file with the <tt>-S</tt>
-option to <tt><b>llvm-gcc</b></tt>. Then run:<p>
+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>
<pre>
<b>gccas</b> -debug-pass=Arguments &lt; /dev/null -o - &gt; /dev/null
OpenPOWER on IntegriCloud