[llvm-bugs] [Bug 34612] New: Line coverage counts in coverage reports coverage for whitespace instead of code

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Sep 14 15:18:25 PDT 2017


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

            Bug ID: 34612
           Summary: Line coverage counts in coverage reports coverage for
                    whitespace instead of code
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: efriedma at codeaurora.org
                CC: llvm-bugs at lists.llvm.org

http://lab.llvm.org:8080/coverage/coverage-reports/all/coverage/Users/buildslave/jenkins/sharedspace/clang-stage2-coverage-R@2/llvm/lib/Target/ARM/ARMISelLowering.cpp.html#L1747
(ARMTargetLowering::PassF64ArgInRegs).

The body of the if statement is correctly shown as uncovered... but somehow
every line of the function is covered.  I think this is because the source
locations for the body precisely cover the expression, and we take the line
execution counts from the whitespace.

-- 
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/20170914/05c67a12/attachment-0001.html>


More information about the llvm-bugs mailing list