From 272322e59118770967200f69e765fae27d6f32bf 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. llvm-svn: 12972 --- llvm/docs/HowToSubmitABug.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/llvm/docs/HowToSubmitABug.html b/llvm/docs/HowToSubmitABug.html index de9b5b166d5b..d4b336980e91 100644 --- a/llvm/docs/HowToSubmitABug.html +++ b/llvm/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 -- GitLab