[PATCH] D18164: [tsan] Do not instrument reads/writes to instruction profile counters.

Xinliang David Li via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 15 10:32:37 PDT 2016


What is the right way to teach tsan to be quiet about benign races?

David

On Tue, Mar 15, 2016 at 10:14 AM, Dmitry Vyukov <dvyukov at google.com> wrote:

> dvyukov added a comment.
>
> > Racy updates of profile counters pose real problems. However, it doesn't
> make sense for TSan to diagnose these races because there is no reasonable
> way for the user to fix the issue (short of turning off profiling
> instrumentation).
>
>
> Yeah, but it makes sense for us to fix the races instead of shutting up
> tsan :)
>
>
> http://reviews.llvm.org/D18164
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160315/df1232a9/attachment.html>


More information about the llvm-commits mailing list