[llvm-bugs] [Bug 35404] [LLVM-COV] Else statement inside an if statement lead to incorrect coverage information in llvm-cov
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Feb 12 12:49:35 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=35404
Zequan Wu <zequanwu at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |---
Status|RESOLVED |REOPENED
--- Comment #6 from Zequan Wu <zequanwu at google.com> ---
> The right way to solve is to emit a gap area between the end of each statement which may terminate its region, and the start of the next statement. However, there's a chance this could blow up the size of coverage mappings.
I think we could add a gap region between two statements only if the first
statement contains a terminating statement like return, continue, break etc.
--
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/20210212/e0f61ff0/attachment-0001.html>
More information about the llvm-bugs
mailing list