[llvm-bugs] [Bug 34237] llvm-cov: Wrong coverage with partially uncovered nested macros
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue May 15 11:06:59 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=34237
Vedant Kumar <vsk at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #5 from Vedant Kumar <vsk at apple.com> ---
Yes, this was fixed in r312818. PR36086 is unrelated; it's an issue in clang.
The clang frontend is able to constant-fold away some expressions and when this
happens, the effect of the expression is not always reflected in the coverage
mapping. In some cases this can be fixed by emitting counter updates even when
an expression is constant-folded. I'm not sure what would be required to
support constexpr.
--
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/20180515/272a31bf/attachment.html>
More information about the llvm-bugs
mailing list