Skip to content

Commit 7959556

Browse files
committed
typos.
Signed-off-by: Henry Cox <henry.cox@mediatek.com>
1 parent ecec956 commit 7959556

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,21 +221,21 @@ Point the web browser of your choice to the resulting index.html file.
221221

222222
$ lcov --directory path/to/my/testcase --capture --output-file app.info
223223

224-
(LLVM users using the 'prodata path' will use a somewhat different
224+
(LLVM users using the 'profdata path' will use a somewhat different
225225
command for this step - see the discussion referenced above.)
226226

227227
If you want to collect Modified Condition / Decision Coverage (MD/DC)
228228
date, then:
229229
- you must use gcc/14.2 (or newer), or LLVM/18 (or newer)
230230
- your GCC compile- and link command line must include flag
231231
'-fcondition-coverage'.
232-
- LLVM users must use the 'prodata path' for coverage data collection,
232+
- LLVM users must use the 'profdata path' for coverage data collection,
233233
and your compile command line must include
234234
'-fprofile-inst-generate -fcoverage-mapping -fcoverage-mcdc'.
235235
See the above referenced discussion for details.
236236
- your lcov and genhtml command line must include flag
237237
'--mcdc-coverage'
238-
See the '--mcdc-coverage' section in the lcov and geninfo man pages.
238+
See the '--mcdc-coverage' section in the genhtml and geninfo man pages.
239239

240240
Note that runtime coverage data exists only after the application has
241241
been started and stopped at least once. Otherwise, no data will be found
@@ -418,7 +418,8 @@ LCOV features and capabilities fall into 7 major categories:
418418
simple substitutions become complicated or unweildy.
419419
v) select a subset of coverage data to display - e.g., to
420420
use in a code review which wants to concentrate on only
421-
the changes caused by a particular commit or range of commits.
421+
the changes caused by a particular commit or range of commits,
422+
or to review changes in a particular release.
422423
Sample script: select.pm
423424
vi) keep track of environment and other settings - to aid
424425
infrastructure debugging in more complicated use cases.

0 commit comments

Comments
 (0)