aboutsummaryrefslogtreecommitdiffstats
path: root/docs
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
parentf4e4feb619fd364bf267e3e2af3afee3fb68a6ab (diff)
downloadexternal_llvm-180e8af7582bb680bf2886d6cd93dddd3571ed6d.zip
external_llvm-180e8af7582bb680bf2886d6cd93dddd3571ed6d.tar.gz
external_llvm-180e8af7582bb680bf2886d6cd93dddd3571ed6d.tar.bz2
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')
-rw-r--r--docs/HowToSubmitABug.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/HowToSubmitABug.html b/docs/HowToSubmitABug.html
index de9b5b1..d4b3369 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