X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FBugpoint.html;h=5454ff40d2bb225d513bc1c05bb658a8ba82d0ee;hb=0fcb4318ea185ae337e895d1dfb93544dda8e63a;hp=eda22629eda3d9764aa59876f37180a7d562e343;hpb=33b1c30b0be49d09e57630abd2535c9aaeaf8636;p=oota-llvm.git diff --git a/docs/Bugpoint.html b/docs/Bugpoint.html index eda22629eda..5454ff40d2b 100644 --- a/docs/Bugpoint.html +++ b/docs/Bugpoint.html @@ -2,13 +2,14 @@ "http://www.w3.org/TR/html4/strict.dtd">
+bugpoint narrows down the source of problems in LLVM tools and passes. It can be used to debug three types of failures: optimizer crashes, @@ -50,12 +51,12 @@ href="HowToSubmitABug.html">How To Submit a Bug Report document.
bugpoint is designed to be a useful tool without requiring any hooks into the LLVM infrastructure at all. It works with any and all LLVM @@ -68,14 +69,12 @@ is still worth it. Note that bugpoint is generally very quick unless debugging a miscompilation where each test of the program (which requires executing it) takes a long time.
-bugpoint reads each .bc or .ll file specified on the command line and links them together into a single module, called the test @@ -104,11 +103,11 @@ Otherwise, there is no problem bugpoint can debug.
If an optimizer or code generator crashes, bugpoint will try as hard as it can to reduce the list of passes (for optimizer crashes) and the size of @@ -129,11 +128,11 @@ reproduce the failure with opt or llc.
The code generator debugger attempts to narrow down the amount of code that is being miscompiled by the selected code generator. To do this, it takes the @@ -150,11 +149,11 @@ good code.
The miscompilation debugger works similarly to the code generator debugger. It works by splitting the test program into two pieces, running the @@ -166,13 +165,15 @@ assumes that the selected code generator is working properly.
@@ -216,7 +217,6 @@ non-obvious ways. Here are some hints and tips:
the list of specified optimizations to be randomized and applied to the program. This process will repeat until a bug is found or the user kills bugpoint. -