On Apr 5, 2012, at 9:43 AM, Kostya Serebryany wrote: > Hello, > > Please review the following patch: > ThreadSanitizer instrumentation relies on TBAA for correctness, so we need to > generate TBAA at "-O0 -fthread-sanitizer".
This is close, but not the right solution. TBAA can cause a semantic change when enabled (though I admit it is unlikely given that nearly all of the optimizers are disabled at -O0). The right fix is for TSAN to generate *vtable* TBAA info, but not other TBAA info. -Chris _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
