2012-05-08 16:50:35 +00:00
|
|
|
llvm-cov - emit coverage information
|
|
|
|
====================================
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
|
2012-11-29 19:10:21 +00:00
|
|
|
:program:`llvm-cov` [-gcno=filename] [-gcda=filename] [dump]
|
2012-05-08 16:50:35 +00:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
|
2012-11-29 19:10:21 +00:00
|
|
|
The experimental :program:`llvm-cov` tool reads in description file generated
|
|
|
|
by compiler and coverage data file generated by instrumented program. This
|
|
|
|
program assumes that the description and data file uses same format as gcov
|
|
|
|
files.
|
2012-05-08 16:50:35 +00:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
|
2012-11-29 19:10:21 +00:00
|
|
|
.. option:: -gcno=filename
|
2012-05-08 16:50:35 +00:00
|
|
|
|
2012-11-29 19:10:21 +00:00
|
|
|
This option selects input description file generated by compiler while
|
|
|
|
instrumenting program.
|
2012-05-08 16:50:35 +00:00
|
|
|
|
2012-11-29 19:10:21 +00:00
|
|
|
.. option:: -gcda=filename
|
2012-05-08 16:50:35 +00:00
|
|
|
|
|
|
|
This option selects coverage data file generated by instrumented compiler.
|
|
|
|
|
2012-11-29 19:10:21 +00:00
|
|
|
.. option:: -dump
|
2012-05-08 16:50:35 +00:00
|
|
|
|
2012-11-29 19:10:21 +00:00
|
|
|
This options enables output dump that is suitable for a developer to help
|
|
|
|
debug :program:`llvm-cov` itself.
|
2012-05-08 16:50:35 +00:00
|
|
|
|
|
|
|
EXIT STATUS
|
|
|
|
-----------
|
|
|
|
|
2012-11-29 19:10:21 +00:00
|
|
|
:program:`llvm-cov` returns 1 if it cannot read input files. Otherwise, it
|
|
|
|
exits with zero.
|
2012-05-08 16:50:35 +00:00
|
|
|
|