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: unassignedb...@nondot.org
          Reporter: efrie...@codeaurora.org
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to