From 180e8af7582bb680bf2886d6cd93dddd3571ed6d Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Thu, 15 Apr 2004 21:01:21 +0000 Subject: [PATCH] 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 --- docs/HowToSubmitABug.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/HowToSubmitABug.html b/docs/HowToSubmitABug.html index de9b5b166d5..d4b336980e9 100644 --- a/docs/HowToSubmitABug.html +++ b/docs/HowToSubmitABug.html @@ -274,6 +274,16 @@ Backend, and then link in the shared object it generates.

--args -- [program arguments]

+

Special note: if you are debugging MultiSource or SPEC tests that +already exist in the llvm/test 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:

+ +
+

cd llvm/test/../../program
+ make bugpoint-jit

+
+

At the end of a successful bugpoint run, you will be presented with two bytecode files: a safe file which can be compiled with the C backend and the test file which either LLC or the JIT