Man page generated from reStructuredText.
. . .nr rst2man-indent-level 0 . \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .rstReportMargin pre:
. RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .rstReportMargin post:
.. . RE indent \\n[an-margin]
old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1 new: \\n[rst2man-indent\\n[rst2man-indent-level]]
..
-a, --all-blocks Display all basic blocks. If there are multiple blocks for a single line of source code, this option causes llvm-cov to show the count for each block instead of just one count for the entire line. NINDENT NDENT 0.0
-b, --branch-probabilities Display conditional branch probabilities and a summary of branch information. NINDENT NDENT 0.0
-c, --branch-counts Display branch counts instead of probabilities (requires -b). NINDENT NDENT 0.0
-f, --function-summaries Show a summary of coverage for each function instead of just one summary for an entire source file. NINDENT NDENT 0.0
--help Display available options (--help-hidden for more). NINDENT NDENT 0.0
-l, --long-file-names For coverage output of files included from the main source file, add the main file name followed by ## as a prefix to the output file names. This can be combined with the --preserve-paths option to use complete paths for both the main file and the included file. NINDENT NDENT 0.0
-n, --no-output Do not output any .gcov files. Summary information is still displayed. NINDENT NDENT 0.0
-o=<DIR|FILE>, --object-directory=<DIR>, --object-file=<FILE> Find objects in DIR or based on FILE\(aqs path. If you specify a particular object file, the coverage data files are expected to have the same base name with .gcno and .gcda extensions. If you specify a directory, the files are expected in that directory with the same base name as the source file. NINDENT NDENT 0.0
-p, --preserve-paths Preserve path components when naming the coverage output files. In addition to the source file name, include the directories from the path to that file. The directories are separate by # characters, with . directories removed and .. directories replaced by ^ characters. When used with the --long-file-names option, this applies to both the main file name and the included file name. NINDENT NDENT 0.0
-u, --unconditional-branches Include unconditional branches in the output for the --branch-probabilities option. NINDENT NDENT 0.0
-version Display the version of llvm-cov. NINDENT NDENT 0.0
-x, --hash-filenames Use md5 hash of file name when naming the coverage output files. The source file name will be suffixed by ## followed by MD5 hash calculated for it. NINDENT
-show-branches=<VIEW> Show coverage for branch conditions in terms of either count or percentage. The supported views are: "count", "percent". NINDENT NDENT 0.0
-show-line-counts Show the execution counts for each line. Defaults to true, unless another -show option is used. NINDENT NDENT 0.0
-show-expansions Expand inclusions, such as preprocessor macros or textual inclusions, inline in the display of the source file. Defaults to false. NINDENT NDENT 0.0
-show-instantiations For source regions that are instantiated multiple times, such as templates in C++, show each instantiation separately as well as the combined summary. Defaults to true. NINDENT NDENT 0.0
-show-regions Show the execution counts for each region by displaying a caret that points to the character where the region starts. Defaults to false. NINDENT NDENT 0.0
-show-line-counts-or-regions Show the execution counts for each line if there is only one region on the line, but show the individual regions if there are multiple on the line. Defaults to false. NINDENT NDENT 0.0
-use-color Enable or disable color output. By default this is autodetected. NINDENT NDENT 0.0
-arch=[*NAMES*] Specify a list of architectures such that the Nth entry in the list corresponds to the Nth specified binary. If the covered object is a universal binary, this specifies the architecture to use. It is an error to specify an architecture that is not included in the universal binary or to use an architecture that does not match a non-universal binary. NINDENT NDENT 0.0
-name=<NAME> Show code coverage only for functions with the given name. NINDENT NDENT 0.0
-name-whitelist=<FILE> Show code coverage only for functions listed in the given file. Each line in the file should start with whitelist_fun:, immediately followed by the name of the function to accept. This name can be a wildcard expression. NINDENT NDENT 0.0
-name-regex=<PATTERN> Show code coverage only for functions that match the given regular expression. NINDENT NDENT 0.0
-ignore-filename-regex=<PATTERN> Skip source code files with file paths that match the given regular expression. NINDENT NDENT 0.0
-format=<FORMAT> Use the specified output format. The supported formats are: "text", "html". NINDENT NDENT 0.0
-tab-size=<TABSIZE> Replace tabs with <TABSIZE> spaces when preparing reports. Currently, this is only supported for the html format. NINDENT NDENT 0.0
-output-dir=PATH Specify a directory to write coverage reports into. If the directory does not exist, it is created. When used in function view mode (i.e when -name or -name-regex are used to select specific functions), the report is written to PATH/functions.EXTENSION. When used in file view mode, a report for each file is written to PATH/REL_PATH_TO_FILE.EXTENSION. NINDENT NDENT 0.0
-Xdemangler=<TOOL>|<TOOL-OPTION> Specify a symbol demangler. This can be used to make reports more human-readable. This option can be specified multiple times to supply arguments to the demangler (e.g -Xdemangler c++filt -Xdemangler -n for C++). The demangler is expected to read a newline-separated list of symbols from stdin and write a newline-separated list of the same length to stdout. NINDENT NDENT 0.0
-num-threads=N, -j=N Use N threads to write file reports (only applicable when -output-dir is specified). When N=0, llvm-cov auto-detects an appropriate number of threads to use. This is the default. NINDENT NDENT 0.0
-line-coverage-gt=<N> Show code coverage only for functions with line coverage greater than the given threshold. NINDENT NDENT 0.0
-line-coverage-lt=<N> Show code coverage only for functions with line coverage less than the given threshold. NINDENT NDENT 0.0
-region-coverage-gt=<N> Show code coverage only for functions with region coverage greater than the given threshold. NINDENT NDENT 0.0
-region-coverage-lt=<N> Show code coverage only for functions with region coverage less than the given threshold. NINDENT NDENT 0.0
-path-equivalence=<from>,<to> Map the paths in the coverage data to local source file paths. This allows you to generate the coverage data on one machine, and then use llvm-cov on a different machine where you have the same files on a different path. NINDENT
-use-color[=VALUE] Enable or disable color output. By default this is autodetected. NINDENT NDENT 0.0
-arch=<name> If the covered binary is a universal binary, select the architecture to use. It is an error to specify an architecture that is not included in the universal binary or to use an architecture that does not match a non-universal binary. NINDENT NDENT 0.0
-show-branch-summary Show statistics for all branch conditions. Defaults to true. NINDENT NDENT 0.0
-show-functions Show coverage summaries for each function. Defaults to false. NINDENT NDENT 0.0
-show-instantiation-summary Show statistics for all function instantiations. Defaults to false. NINDENT NDENT 0.0
-ignore-filename-regex=<PATTERN> Skip source code files with file paths that match the given regular expression. NINDENT
-arch=<name> If the covered binary is a universal binary, select the architecture to use. It is an error to specify an architecture that is not included in the universal binary or to use an architecture that does not match a non-universal binary. NINDENT NDENT 0.0
-format=<FORMAT> Use the specified output format. The supported formats are: "text" (JSON), "lcov". NINDENT NDENT 0.0
-summary-only Export only summary information for each file in the coverage data. This mode will not export coverage information for smaller units such as individual functions or regions. The result will contain the same information as produced by the llvm-cov report command, but presented in JSON or lcov format rather than text. NINDENT NDENT 0.0
-ignore-filename-regex=<PATTERN> Skip source code files with file paths that match the given regular expression. NDENT 7.0
-skip-expansions NINDENT Skip exporting macro expansion coverage data. NDENT 7.0
-skip-functions NINDENT Skip exporting per-function coverage data. NDENT 7.0
-num-threads=N, -j=N NINDENT Use N threads to export coverage data. When N=0, llvm-cov auto-detects an appropriate number of threads to use. This is the default. NINDENT
.