[llvm-bugs] [Bug 51587] New: [LLVM-COV] Correctly export branch coverage in LCOV format with proper name

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 23 09:54:08 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=51587

            Bug ID: 51587
           Summary: [LLVM-COV] Correctly export branch coverage in LCOV
                    format with proper name
           Product: new-bugs
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: a-phipps at ti.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
            Blocks: 49317, 51236

LCOV field name for branches are incorrectly named "BFH" rather than "BRH" in
the exported output. The mistake slipped in as typo because the correct field
name BRH is used in the comment section at the beginning of the file. See also
https://github.com/linux-test-project/lcov/blob/d100e6cdd4c67cbe5322fa26b2ee8aa34ea7ebcf/man/geninfo.1#L561
for the LCOV format specification.

This is now fixed on the main branch.  Christian Fetzer fixed the bug, but I
reviewed it and committed it for him.

Code Review for fix:
https://reviews.llvm.org/D108358

Main branch commit for fix:
https://reviews.llvm.org/rG9116211d180ca417fa93d4e97e60f4ba849d58d9

This fix needs to be applied to the 12.x and 13.x release branches


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=49317
[Bug 49317] [meta] 12.0.1 Release Blockers
https://bugs.llvm.org/show_bug.cgi?id=51236
[Bug 51236] [meta] 13.0.0 Release Blockers
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210823/25c17431/attachment.html>


More information about the llvm-bugs mailing list