[llvm-commits] [llvm] r153448 - in /llvm/trunk: lib/Transforms/Instrumentation/ThreadSanitizer.cpp test/Instrumentation/ThreadSanitizer/lit.local.cfg test/Instrumentation/ThreadSanitizer/vptr_update.ll

Kostya Serebryany kcc at google.com
Tue Mar 27 06:47:35 PDT 2012


Hi Duncan,

On Tue, Mar 27, 2012 at 12:35 AM, Duncan Sands <baldrick at free.fr> wrote:

> Hi Kostya,
>
> > [tsan] treat vtable pointer updates in a special way (requires tbaa);
> fix a bug (forgot to return true after instrumenting); make sure the tsan
> tests are run
>
> does this really have to be so specific: "C++", "vtable" etc?  Can't you
>

We probably can do something like this, but I have very little experience
with languages other than C/C++.
The particular problem I am solving here (
http://code.google.com/p/data-race-test/wiki/PopularDataRaces#Data_race_on_vptr
)
is very C++-specific.


--kcc

abstract out an underlying general concept that is also useful for other
> languages and other situations and use that?
>
> Ciao, Duncan.
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120327/cfe85469/attachment.html>


More information about the llvm-commits mailing list