[llvm-bugs] [Bug 34237] New: llvm-cov: Wrong coverage with partially uncovered nested macros
llvm-bugs at lists.llvm.org
Fri Aug 18 13:02:29 PDT 2017
Bug ID: 34237
Summary: llvm-cov: Wrong coverage with partially uncovered
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: dennis.felsing at sap.com
CC: llvm-bugs at lists.llvm.org
Created attachment 19005
When instantiating a macro within a macro and the first 2 cases are not
covered, the rest of the file is wrongly classified as uncovered.
The segment building in CoverageMapping.cpp seems to lead to a wrong order,
thus skipping valid segments later when displaying them. I guess it has to do
with the types of the coverage regions.
I have attached a minimal example and the script I use to test this behaviour.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs