• Home
  • Raw
  • Download

Lines Matching full:coverage

1 llvm-cov - emit coverage information
12 The :program:`llvm-cov` tool shows code coverage information for
14 work with ``gcov``\-style coverage or with ``clang``\'s instrumentation
43 The :program:`llvm-cov gcov` tool reads code coverage data files and displays
44 the coverage information for a specified source file. It is compatible with the
49 of your application that collects coverage data as it runs. Compile with the
50 ``-fprofile-arcs`` and ``-ftest-coverage`` options to add the
51 instrumentation. (Alternatively, you can use the ``--coverage`` option, which
54 coverage data cannot be accurately mapped back to the source code.
58 coverage data. The other half of the data comes from ``.gcda`` files that are
75 Once you have generated the coverage data files, run :program:`llvm-cov gcov`
76 for each main source file where you want to examine the coverage results. This
107 Show a summary of coverage for each function instead of just one summary for
116 For coverage output of files included from the main source file, add the
129 object file, the coverage data files are expected to have the same base name
136 Preserve path components when naming the coverage output files. In addition
174 The :program:`llvm-cov show` command shows line by line coverage of a binary
176 show the coverage for the files listed in *SOURCES*.
179 instrumentation to emit profile and coverage data. To build such a program with
184 The coverage information is stored in the built executable or library itself,
233 Show code coverage only for functions with the given name.
237 Show code coverage only for functions that match the given regular expression.
245 Specify a directory to write coverage reports into. If the directory does not
251 .. option:: -line-coverage-gt=<N>
253 Show code coverage only for functions with line coverage greater than the
256 .. option:: -line-coverage-lt=<N>
258 Show code coverage only for functions with line coverage less than the given
261 .. option:: -region-coverage-gt=<N>
263 Show code coverage only for functions with region coverage greater than the
266 .. option:: -region-coverage-lt=<N>
268 Show code coverage only for functions with region coverage less than the given
286 The :program:`llvm-cov report` command displays a summary of the coverage of a
288 only show the coverage for the files listed in *SOURCES*.
291 coverage data. If any files are provided, summaries are shown for each function
294 For information on compiling programs for coverage and generating profile data,