diff options
author | Kostya Serebryany <kcc@google.com> | 2012-04-10 18:18:56 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2012-04-10 18:18:56 +0000 |
commit | bf2de80be62bc5056b4e50d16eef030b6a0f4a76 (patch) | |
tree | 57d273881a8e1173d62719cb3dc32759056c5c38 /lldb/scripts/Python/edit-swig-python-wrapper-file.py | |
parent | e9abba71fe084db1699dceabd4d2ae1b75af61c9 (diff) | |
download | bcm5719-llvm-bf2de80be62bc5056b4e50d16eef030b6a0f4a76.tar.gz bcm5719-llvm-bf2de80be62bc5056b4e50d16eef030b6a0f4a76.zip |
[tsan] compile-time instrumentation: do not instrument a read if
a write to the same temp follows in the same BB.
Also add stats printing.
On Spec CPU2006 this optimization saves roughly 4% of instrumented reads
(which is 3% of all instrumented accesses):
Writes : 161216
Reads : 446458
Reads-before-write: 18295
llvm-svn: 154418
Diffstat (limited to 'lldb/scripts/Python/edit-swig-python-wrapper-file.py')
0 files changed, 0 insertions, 0 deletions