diff options
Diffstat (limited to 'usr.bin/clang/bugpoint/bugpoint.1')
-rw-r--r-- | usr.bin/clang/bugpoint/bugpoint.1 | 38 |
1 files changed, 27 insertions, 11 deletions
diff --git a/usr.bin/clang/bugpoint/bugpoint.1 b/usr.bin/clang/bugpoint/bugpoint.1 index 0e119a4..4a180f4 100644 --- a/usr.bin/clang/bugpoint/bugpoint.1 +++ b/usr.bin/clang/bugpoint/bugpoint.1 @@ -1,5 +1,5 @@ .\" $FreeBSD$ -.TH "BUGPOINT" "1" "2012-08-16" "3.2" "LLVM" +.TH "BUGPOINT" "1" "2013-04-11" "3.3" "LLVM" .SH NAME bugpoint \- automatic test case reduction tool . @@ -66,37 +66,45 @@ code is considered a test failure. Defaults to false. \fB\-\-args\fP \fIprogram args\fP .INDENT 0.0 .INDENT 3.5 -Pass all arguments specified after \-args to the test program whenever it runs. -Note that if any of the \fIprogram args\fP start with a \(aq\-\(aq, you should use: +Pass all arguments specified after \fB\-\-args\fP to the test program whenever it runs. +Note that if any of the \fIprogram args\fP start with a "\fB\-\fP", you should use: +.INDENT 0.0 +.INDENT 3.5 .sp .nf .ft C bugpoint [bugpoint args] \-\-args \-\- [program args] .ft P .fi +.UNINDENT +.UNINDENT .sp -The "\-\-" right after the \fB\-\-args\fP option tells \fBbugpoint\fP to consider any -options starting with \fB\-\fP to be part of the \fB\-\-args\fP option, not as options to -\fBbugpoint\fP itself. +The "\fB\-\-\fP" right after the \fB\-\-args\fP option tells \fBbugpoint\fP to consider +any options starting with "\fB\-\fP" to be part of the \fB\-\-args\fP option, not as +options to \fBbugpoint\fP itself. .UNINDENT .UNINDENT .sp \fB\-\-tool\-args\fP \fItool args\fP .INDENT 0.0 .INDENT 3.5 -Pass all arguments specified after \-\-tool\-args to the LLVM tool under test +Pass all arguments specified after \fB\-\-tool\-args\fP to the LLVM tool under test (\fBllc\fP, \fBlli\fP, etc.) whenever it runs. You should use this option in the following way: +.INDENT 0.0 +.INDENT 3.5 .sp .nf .ft C bugpoint [bugpoint args] \-\-tool\-args \-\- [tool args] .ft P .fi +.UNINDENT +.UNINDENT .sp -The "\-\-" right after the \fB\-\-tool\-args\fP option tells \fBbugpoint\fP to consider any -options starting with \fB\-\fP to be part of the \fB\-\-tool\-args\fP option, not as -options to \fBbugpoint\fP itself. (See \fB\-\-args\fP, above.) +The "\fB\-\-\fP" right after the \fB\-\-tool\-args\fP option tells \fBbugpoint\fP to +consider any options starting with "\fB\-\fP" to be part of the \fB\-\-tool\-args\fP +option, not as options to \fBbugpoint\fP itself. (See \fB\-\-args\fP, above.) .UNINDENT .UNINDENT .sp @@ -172,6 +180,8 @@ Load the dynamic object \fIplugin\fP into \fBbugpoint\fP itself. This object sh register new optimization passes. Once loaded, the object will add new command line options to enable various optimizations. To see the new complete list of optimizations, use the \fB\-help\fP and \fB\-\-load\fP options together; for example: +.INDENT 0.0 +.INDENT 3.5 .sp .nf .ft C @@ -180,6 +190,8 @@ bugpoint \-\-load myNewPass.so \-help .fi .UNINDENT .UNINDENT +.UNINDENT +.UNINDENT .sp \fB\-\-mlimit\fP \fImegabytes\fP .INDENT 0.0 @@ -247,6 +259,8 @@ option to compile the bitcode testcase. This can be useful for testing compiler output without running any link or execute stages. To generate a reduced unit test, you may add CHECK directives to the testcase and pass the name of an executable compile\-command script in this form: +.INDENT 0.0 +.INDENT 3.5 .sp .nf .ft C @@ -255,6 +269,8 @@ llc "$@" not FileCheck [bugpoint input file].ll < bugpoint\-test\-program.s .ft P .fi +.UNINDENT +.UNINDENT .sp This script will "fail" as long as FileCheck passes. So the result will be the minimum bitcode that passes FileCheck. @@ -279,6 +295,6 @@ opt|opt .SH AUTHOR Maintained by The LLVM Team (http://llvm.org/). .SH COPYRIGHT -2012, LLVM Project +2003-2013, LLVM Project .\" Generated by docutils manpage writer. . |