[cfe-dev] clang-cl: missing code coverage when exception handling is enabled

Reid Kleckner via cfe-dev cfe-dev at lists.llvm.org
Mon Apr 23 10:10:29 PDT 2018


I was discussing this general problem that instrumentation passes have with
WinEH with Saleem and Shoaib last Friday. The fix is to extend the coverage
pass to compute basic block colors and apply them to calls generated during
coverage instrumentation.

On Sun, Apr 22, 2018 at 4:58 PM Jan Kokemüller via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> Hi,
> I'm trying to use gcov based code coverage analysis with clang-cl
> targeting Windows.
> Currently this won't work for functions where exceptions might be thrown:
> https://reviews.llvm.org/D38223
>
> Any pointers to what is needed to fix this? The approach discussed in
> the linked review and related bug reports didn't seem to work out.
>
> -Jan
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180423/b360c8bf/attachment.html>


More information about the cfe-dev mailing list