llvm-cov.1 (331838) | llvm-cov.1 (344213) |
---|---|
1.\" $FreeBSD: stable/11/usr.bin/clang/llvm-cov/llvm-cov.1 331838 2018-03-31 11:38:16Z dim $ | 1.\" $FreeBSD: stable/11/usr.bin/clang/llvm-cov/llvm-cov.1 344213 2019-02-16 15:57:29Z dim $ |
2.\" Man page generated from reStructuredText. 3. | 2.\" Man page generated from reStructuredText. 3. |
4.TH "LLVM-COV" "1" "2017-12-24" "6" "LLVM" | 4.TH "LLVM-COV" "1" "2018-08-02" "7" "LLVM" |
5.SH NAME 6llvm-cov \- emit coverage information 7. 8.nr rst2man-indent-level 0 9. 10.de1 rstReportMargin 11\\$1 \\n[an-margin] 12level \\n[rst2man-indent-level] --- 253 unchanged lines hidden (view full) --- 266.UNINDENT 267.INDENT 0.0 268.TP 269.B \-name\-regex=<PATTERN> 270Show code coverage only for functions that match the given regular expression. 271.UNINDENT 272.INDENT 0.0 273.TP | 5.SH NAME 6llvm-cov \- emit coverage information 7. 8.nr rst2man-indent-level 0 9. 10.de1 rstReportMargin 11\\$1 \\n[an-margin] 12level \\n[rst2man-indent-level] --- 253 unchanged lines hidden (view full) --- 266.UNINDENT 267.INDENT 0.0 268.TP 269.B \-name\-regex=<PATTERN> 270Show code coverage only for functions that match the given regular expression. 271.UNINDENT 272.INDENT 0.0 273.TP |
274.B \-ignore\-filename\-regex=<PATTERN> 275Skip source code files with file paths that match the given regular expression. 276.UNINDENT 277.INDENT 0.0 278.TP |
|
274.B \-format=<FORMAT> 275Use the specified output format. The supported formats are: "text", "html". 276.UNINDENT 277.INDENT 0.0 278.TP 279.B \-tab\-size=<TABSIZE> 280Replace tabs with <TABSIZE> spaces when preparing reports. Currently, this is 281only supported for the html format. --- 60 unchanged lines hidden (view full) --- 342\fBllvm\-cov report\fP [\fIoptions\fP] \-instr\-profile \fIPROFILE\fP \fIBIN\fP [\fI\-object BIN,...\fP] [[\fI\-object BIN\fP]] [\fISOURCES\fP] 343.SS DESCRIPTION 344.sp 345The \fBllvm\-cov report\fP command displays a summary of the coverage of 346the binaries \fIBIN\fP,... using the profile data \fIPROFILE\fP\&. It can optionally be 347filtered to only show the coverage for the files listed in \fISOURCES\fP\&. 348.sp 349If no source files are provided, a summary line is printed for each file in the | 279.B \-format=<FORMAT> 280Use the specified output format. The supported formats are: "text", "html". 281.UNINDENT 282.INDENT 0.0 283.TP 284.B \-tab\-size=<TABSIZE> 285Replace tabs with <TABSIZE> spaces when preparing reports. Currently, this is 286only supported for the html format. --- 60 unchanged lines hidden (view full) --- 347\fBllvm\-cov report\fP [\fIoptions\fP] \-instr\-profile \fIPROFILE\fP \fIBIN\fP [\fI\-object BIN,...\fP] [[\fI\-object BIN\fP]] [\fISOURCES\fP] 348.SS DESCRIPTION 349.sp 350The \fBllvm\-cov report\fP command displays a summary of the coverage of 351the binaries \fIBIN\fP,... using the profile data \fIPROFILE\fP\&. It can optionally be 352filtered to only show the coverage for the files listed in \fISOURCES\fP\&. 353.sp 354If no source files are provided, a summary line is printed for each file in the |
350coverage data. If any files are provided, summaries are shown for each function 351in the listed files instead. | 355coverage data. If any files are provided, summaries can be shown for each 356function in the listed files if the \fB\-show\-functions\fP option is enabled. |
352.sp 353For information on compiling programs for coverage and generating profile data, 354see \fI\%SHOW COMMAND\fP\&. 355.SS OPTIONS 356.INDENT 0.0 357.TP 358.B \-use\-color[=VALUE] 359Enable or disable color output. By default this is autodetected. --- 11 unchanged lines hidden (view full) --- 371.B \-show\-functions 372Show coverage summaries for each function. Defaults to false. 373.UNINDENT 374.INDENT 0.0 375.TP 376.B \-show\-instantiation\-summary 377Show statistics for all function instantiations. Defaults to false. 378.UNINDENT | 357.sp 358For information on compiling programs for coverage and generating profile data, 359see \fI\%SHOW COMMAND\fP\&. 360.SS OPTIONS 361.INDENT 0.0 362.TP 363.B \-use\-color[=VALUE] 364Enable or disable color output. By default this is autodetected. --- 11 unchanged lines hidden (view full) --- 376.B \-show\-functions 377Show coverage summaries for each function. Defaults to false. 378.UNINDENT 379.INDENT 0.0 380.TP 381.B \-show\-instantiation\-summary 382Show statistics for all function instantiations. Defaults to false. 383.UNINDENT |
384.INDENT 0.0 385.TP 386.B \-ignore\-filename\-regex=<PATTERN> 387Skip source code files with file paths that match the given regular expression. 388.UNINDENT |
|
379.SH EXPORT COMMAND 380.SS SYNOPSIS 381.sp | 389.SH EXPORT COMMAND 390.SS SYNOPSIS 391.sp |
382\fBllvm\-cov export\fP [\fIoptions\fP] \-instr\-profile \fIPROFILE\fP \fIBIN\fP [\fI\-object BIN,...\fP] [[\fI\-object BIN\fP]] | 392\fBllvm\-cov export\fP [\fIoptions\fP] \-instr\-profile \fIPROFILE\fP \fIBIN\fP [\fI\-object BIN,...\fP] [[\fI\-object BIN\fP]] [\fISOURCES\fP] |
383.SS DESCRIPTION 384.sp 385The \fBllvm\-cov export\fP command exports regions, functions, expansions, 386and summaries of the coverage of the binaries \fIBIN\fP,... using the profile data | 393.SS DESCRIPTION 394.sp 395The \fBllvm\-cov export\fP command exports regions, functions, expansions, 396and summaries of the coverage of the binaries \fIBIN\fP,... using the profile data |
387\fIPROFILE\fP as JSON. | 397\fIPROFILE\fP as JSON. It can optionally be filtered to only export the coverage 398for the files listed in \fISOURCES\fP\&. |
388.sp 389For information on compiling programs for coverage and generating profile data, 390see \fI\%SHOW COMMAND\fP\&. 391.SS OPTIONS 392.INDENT 0.0 393.TP 394.B \-arch=<name> 395If the covered binary is a universal binary, select the architecture to use. --- 4 unchanged lines hidden (view full) --- 400.INDENT 0.0 401.TP 402.B \-summary\-only 403Export only summary information for each file in the coverage data. This mode 404will not export coverage information for smaller units such as individual 405functions or regions. The result will be the same as produced by :program: 406\fIllvm\-cov report\fP command, but presented in JSON format rather than text. 407.UNINDENT | 399.sp 400For information on compiling programs for coverage and generating profile data, 401see \fI\%SHOW COMMAND\fP\&. 402.SS OPTIONS 403.INDENT 0.0 404.TP 405.B \-arch=<name> 406If the covered binary is a universal binary, select the architecture to use. --- 4 unchanged lines hidden (view full) --- 411.INDENT 0.0 412.TP 413.B \-summary\-only 414Export only summary information for each file in the coverage data. This mode 415will not export coverage information for smaller units such as individual 416functions or regions. The result will be the same as produced by :program: 417\fIllvm\-cov report\fP command, but presented in JSON format rather than text. 418.UNINDENT |
419.INDENT 0.0 420.TP 421.B \-ignore\-filename\-regex=<PATTERN> 422Skip source code files with file paths that match the given regular expression. 423.UNINDENT |
|
408.SH AUTHOR 409Maintained by The LLVM Team (http://llvm.org/). 410.SH COPYRIGHT | 424.SH AUTHOR 425Maintained by The LLVM Team (http://llvm.org/). 426.SH COPYRIGHT |
4112003-2017, LLVM Project | 4272003-2018, LLVM Project |
412.\" Generated by docutils manpage writer. 413. | 428.\" Generated by docutils manpage writer. 429. |