Displaying 2 results from an estimated 2 matches for "linecoverageinfo".
2020 Jan 24
4
Adding support for LLVM Branch Condition Coverage
...data represented by a CounterMappingRegion above. But then llvm-cov can treat the segment distinctly when displaying True/False counts for each branch condition as well as tracking total missed branches.
b. We can also add a BranchCoverageInfo class to track branch coverage data, similar to LineCoverageInfo and RegionCoverageInfo.
c. The text output could look something like GCOV but with more detail that we know (I prototyped this using logical-or):
9| |int main(int argc, char *argv[])
10| 3|{
11| 3| if (argc == 1)
Branch (11:9): [True: 1, False: 2]
12| 1|...
2020 Jan 24
2
Adding support for LLVM Branch Condition Coverage
...data represented by a CounterMappingRegion above. But then llvm-cov can treat the segment distinctly when displaying True/False counts for each branch condition as well as tracking total missed branches.
b. We can also add a BranchCoverageInfo class to track branch coverage data, similar to LineCoverageInfo and RegionCoverageInfo.
c. The text output could look something like GCOV but with more detail that we know (I prototyped this using logical-or):
9| |int main(int argc, char *argv[])
10| 3|{
11| 3| if (argc == 1)
Branch (11:9): [True: 1, False: 2]
12| 1|...