| Issue |
109930
|
| Summary |
[llvm-cov][MC/DC][Qualification] No MCDC coverage measured for minimal expressions
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
escherle-validas
|
# Number: 1
## No MCDC coverage measured for minimal expressions
## Criticality: HIGH
During qualification of MCDC coverage at Validas we found that
no MCDC coverage is measured when there is a boolean term consisting only of one atom.
In the case of a single element MCDC is defined and should be measured.
In the attached example the term "if (v0)" is not instrumented at all for MCDC.
The problem occurs within Rust and C++ (see attached reduced examples).
Rust example

C++ example:

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs