diff --git a/docs/CommandGuide/bugpoint.html b/docs/CommandGuide/bugpoint.html new file mode 100644 index 00000000000..b0b36fb8d5f --- /dev/null +++ b/docs/CommandGuide/bugpoint.html @@ -0,0 +1,113 @@ + +LLVM: bugpoint tool + + + +

LLVM: bugpoint tool

+
+ +

NAME

+bugpoint + +

SYNOPSIS

+extract [options] [input llvm ll/bc files] [LLVM passes] --args <program arguments>... + + +

DESCRIPTION

+ +The bugpoint tool is a generally useful tool for narrowing down +problems in LLVM tools and passes.

+ +bugpoint reads the specified list of .bc or .ll files specified on the +command-line and links them together. It then runs the specified LLVM passes on +the resultant bytecode file. If any of the passes crash, or if they produce an +LLVM module which is not verifiable, bugpoint enters "crash debugging mode". +Otherwise, bugpoint tries to run the resultant program with a code +generator. If the code generated program does not match the reference output, +it enters "miscompilation debugging mode". If the -mode option is +specified, bugpoint enters "code generator debugging mode". + +

Crash debugging mode

+ +TODO + +

Miscompilation debugging mode

+ +TODO + +

Code generator debugging mode

+ +TODO + + +

OPTIONS

+ + + +

EXIT STATUS

+ +If bugpoint succeeds in finding a problem, it will exit with 0. +Otherwise, if an error occurs, it will exit with a non-zero value. + +

SEE ALSO

+opt +analyze + +
+Maintained by the LLVM Team. + + +