[llvm-bugs] [Bug 34963] New: llvm-cov: Wrong coverage with macro inside of switch body

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 16 06:07:48 PDT 2017


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

            Bug ID: 34963
           Summary: llvm-cov: Wrong coverage with macro inside of switch
                    body
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: dennis.felsing at sap.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 19288
  --> https://bugs.llvm.org/attachment.cgi?id=19288&action=edit
Example code

I believe this also stopped working with a later patchset of
https://reviews.llvm.org/D36813 . Worked fine with the initial version of that
change. I would line 14 to be covered. If you call f(0) instead of f(2) it is
covered.

-- 
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/20171016/33847837/attachment.html>


More information about the llvm-bugs mailing list