coverage. Add coverage-options=mcdc as gate for MC/DC instrument
This commit is contained in:
parent
e3181b091e
commit
68f86381ee
10 changed files with 40 additions and 15 deletions
|
|
@ -351,8 +351,8 @@ $ llvm-cov report \
|
|||
This unstable option provides finer control over some aspects of coverage
|
||||
instrumentation. Pass one or more of the following values, separated by commas.
|
||||
|
||||
- `branch` or `no-branch`
|
||||
- Enables or disables branch coverage instrumentation.
|
||||
- Either `no-branch`, `branch` or `mcdc`
|
||||
- `branch` enables branch coverage instrumentation and `mcdc` further enables modified condition/decision coverage instrumentation. `no-branch` disables branch coverage instrumentation, which is same as do not pass `branch` or `mcdc`.
|
||||
|
||||
## Other references
|
||||
|
||||
|
|
|
|||
|
|
@ -5,4 +5,4 @@ This option controls details of the coverage instrumentation performed by
|
|||
|
||||
Multiple options can be passed, separated by commas. Valid options are:
|
||||
|
||||
- `branch` or `no-branch`: Enables or disables branch coverage instrumentation.
|
||||
- `no-branch`, `branch` or `mcdc`: `branch` enables branch coverage instrumentation and `mcdc` further enables modified condition/decision coverage instrumentation. `no-branch` disables branch coverage instrumentation as well as mcdc instrumentation, which is same as do not pass `branch` or `mcdc`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue