[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-dev
Subject:    Re: [cfe-dev] clang-cl: missing code coverage when exception handling is enabled
From:       Reid Kleckner via cfe-dev <cfe-dev () lists ! llvm ! org>
Date:       2018-04-23 17:10:29
Message-ID: CACs=tyJZNGH7wXd17ig-yHPja1eoXpuuNm=pBq26omQO=N3NTQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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=C3=BCller via cfe-dev <
cfe-dev@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@lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>

[Attachment #5 (text/html)]

<div dir="ltr">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.<br></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Apr 22, \
2018 at 4:58 PM Jan Kokemüller via cfe-dev &lt;<a \
href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br> I&#39;m trying to use gcov \
based code coverage analysis with clang-cl<br> targeting Windows.<br>
Currently this won&#39;t work for functions where exceptions might be thrown:<br>
<a href="https://reviews.llvm.org/D38223" rel="noreferrer" \
target="_blank">https://reviews.llvm.org/D38223</a><br> <br>
Any pointers to what is needed to fix this? The approach discussed in<br>
the linked review and related bug reports didn&#39;t seem to work out.<br>
<br>
-Jan<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" \
target="_blank">cfe-dev@lists.llvm.org</a><br> <a \
href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" \
target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br> \
</blockquote></div>


[Attachment #6 (text/plain)]

_______________________________________________
cfe-dev mailing list
cfe-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic