Daniel Dunbar | 3b709d5 | 2012-05-08 16:50:35 +0000 | [diff] [blame] | 1 | llvm-cov - emit coverage information |
| 2 | ==================================== |
| 3 | |
Daniel Dunbar | 3b709d5 | 2012-05-08 16:50:35 +0000 | [diff] [blame] | 4 | SYNOPSIS |
| 5 | -------- |
| 6 | |
Dmitri Gribenko | 90d0e7e | 2012-11-29 19:10:21 +0000 | [diff] [blame] | 7 | :program:`llvm-cov` [-gcno=filename] [-gcda=filename] [dump] |
Daniel Dunbar | 3b709d5 | 2012-05-08 16:50:35 +0000 | [diff] [blame] | 8 | |
| 9 | DESCRIPTION |
| 10 | ----------- |
| 11 | |
Dmitri Gribenko | 90d0e7e | 2012-11-29 19:10:21 +0000 | [diff] [blame] | 12 | The experimental :program:`llvm-cov` tool reads in description file generated |
| 13 | by compiler and coverage data file generated by instrumented program. This |
| 14 | program assumes that the description and data file uses same format as gcov |
| 15 | files. |
Daniel Dunbar | 3b709d5 | 2012-05-08 16:50:35 +0000 | [diff] [blame] | 16 | |
| 17 | OPTIONS |
| 18 | ------- |
| 19 | |
Dmitri Gribenko | 90d0e7e | 2012-11-29 19:10:21 +0000 | [diff] [blame] | 20 | .. option:: -gcno=filename |
Daniel Dunbar | 3b709d5 | 2012-05-08 16:50:35 +0000 | [diff] [blame] | 21 | |
Dmitri Gribenko | 90d0e7e | 2012-11-29 19:10:21 +0000 | [diff] [blame] | 22 | This option selects input description file generated by compiler while |
| 23 | instrumenting program. |
Daniel Dunbar | 3b709d5 | 2012-05-08 16:50:35 +0000 | [diff] [blame] | 24 | |
Dmitri Gribenko | 90d0e7e | 2012-11-29 19:10:21 +0000 | [diff] [blame] | 25 | .. option:: -gcda=filename |
Daniel Dunbar | 3b709d5 | 2012-05-08 16:50:35 +0000 | [diff] [blame] | 26 | |
| 27 | This option selects coverage data file generated by instrumented compiler. |
| 28 | |
Dmitri Gribenko | 90d0e7e | 2012-11-29 19:10:21 +0000 | [diff] [blame] | 29 | .. option:: -dump |
Daniel Dunbar | 3b709d5 | 2012-05-08 16:50:35 +0000 | [diff] [blame] | 30 | |
Dmitri Gribenko | 90d0e7e | 2012-11-29 19:10:21 +0000 | [diff] [blame] | 31 | This options enables output dump that is suitable for a developer to help |
| 32 | debug :program:`llvm-cov` itself. |
Daniel Dunbar | 3b709d5 | 2012-05-08 16:50:35 +0000 | [diff] [blame] | 33 | |
| 34 | EXIT STATUS |
| 35 | ----------- |
| 36 | |
Dmitri Gribenko | 90d0e7e | 2012-11-29 19:10:21 +0000 | [diff] [blame] | 37 | :program:`llvm-cov` returns 1 if it cannot read input files. Otherwise, it |
| 38 | exits with zero. |
Daniel Dunbar | 3b709d5 | 2012-05-08 16:50:35 +0000 | [diff] [blame] | 39 | |