[llvm-bugs] [Bug 42106] Coverage with option "--coverage" instruments sanitizer's code.
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jun 4 12:44:21 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=42106
Eli Friedman <efriedma at quicinc.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
CC| |efriedma at quicinc.com
--- Comment #1 from Eli Friedman <efriedma at quicinc.com> ---
--coverage reports coverage for all branches which exist in the intermediate
representation at the point where the instrumentation is inserted. So it's not
really relevant whether the user explicitly wrote a branch.
This design has various advantages and limitations. But it's a design we
inherited from gcc, and it's not something we can really fix without causing
other problems.
Depending on what you're looking for, you might want to try a different
approach; see https://clang.llvm.org/docs/SourceBasedCodeCoverage.html .
--
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/20190604/9243fe2e/attachment.html>
More information about the llvm-bugs
mailing list