summaryrefslogtreecommitdiff
path: root/docs/HowToSubmitABug.html
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-04-15 21:01:21 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-04-15 21:01:21 +0000
commit180e8af7582bb680bf2886d6cd93dddd3571ed6d (patch)
tree191cfab8cdcc9e0a257b7d2debab8f2d242f6134 /docs/HowToSubmitABug.html
parentf4e4feb619fd364bf267e3e2af3afee3fb68a6ab (diff)
downloadllvm-180e8af7582bb680bf2886d6cd93dddd3571ed6d.tar.gz
llvm-180e8af7582bb680bf2886d6cd93dddd3571ed6d.tar.bz2
llvm-180e8af7582bb680bf2886d6cd93dddd3571ed6d.tar.xz
Add note about easier way to debug tests in the llvm tree.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12972 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/HowToSubmitABug.html')
-rw-r--r--docs/HowToSubmitABug.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/HowToSubmitABug.html b/docs/HowToSubmitABug.html
index de9b5b166d..d4b336980e 100644
--- a/docs/HowToSubmitABug.html
+++ b/docs/HowToSubmitABug.html
@@ -274,6 +274,16 @@ Backend, and then link in the shared object it generates.</p>
--args -- [program arguments]</tt></p>
</div>
+<p><b>Special note:</b> if you are debugging MultiSource or SPEC tests that
+already exist in the <tt>llvm/test</tt> hierarchy, there is an easier way to
+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>
+</div>
+
<p>At the end of a successful <tt>bugpoint</tt> run, you will be presented
with two bytecode files: a <em>safe</em> file which can be compiled with the C
backend and the <em>test</em> file which either LLC or the JIT