<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 3, 2013 at 11:30 AM, dvyukov <span dir="ltr"><<a href="mailto:dvyukov@gmail.com" target="_blank">dvyukov@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<br>
Please also include tsan into this plan (and probably asan?). Tsan does not<br>
need to see all memory accesses, but it needs to see all synchronization.<br>
Some atomic-operation-based synchronization in shared_ptr is compiled into<br>
libstdc++ and causes false positives:<br>
<a href="http://llvm.org/bugs/show_bug.cgi?id=17066" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=17066</a></blockquote><div><br></div><div>If we are going to implement this for msan and asan, surely we want this for asan as well. It will improve asan in two ways: </div>
<div> 1. memory accesses in libraries will now be instrumented (and thus more bugs will be detected).</div><div> 2. the libraries will get compiled with frame pointers thus allowing fast unwinder to work properly (this is essential for suppressions in lsan).</div>
<div><br></div><div>--kcc </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://clang-developers.42468.n3.nabble.com/Driver-interaction-with-fsanitize-memory-tp4034088p4034204.html" target="_blank">http://clang-developers.42468.n3.nabble.com/Driver-interaction-with-fsanitize-memory-tp4034088p4034204.html</a><br>

Sent from the Clang Developers mailing list archive at Nabble.com.<br>
<div class=""><div class="h5">_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</div></div></blockquote></div><br></div></div>