[PATCH] tsan: do not instrument not captured values
dvyukov at google.com
Tue Jan 27 03:03:17 PST 2015
Chandler, I've tested the approach where we ignore only completely non-captured variables, and it seems to give most of the benefit.
Number of __tsan_(read|write|unaligned) calls in webrtc modules_unittest was 240592; with my original patch -- 149078; with only PointerMayBeCaptured -- 149624.
Looks much simpler now as well. And also I don't need to figure out how to reuse DominatorTree from a previous pass :)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4443 bytes
Desc: not available
More information about the llvm-commits