summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/edit-swig-python-wrapper-file.py
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2012-04-10 22:29:17 +0000
committerKostya Serebryany <kcc@google.com>2012-04-10 22:29:17 +0000
commit5ba61ac651035728c88229eb207e4195a16867fb (patch)
tree523f2531b40b86cbb4f53b87f68efc1a65318789 /lldb/scripts/Python/edit-swig-python-wrapper-file.py
parent606b5291e56b9a26a9f9fc090b12b7c19745cf5d (diff)
downloadbcm5719-llvm-5ba61ac651035728c88229eb207e4195a16867fb.tar.gz
bcm5719-llvm-5ba61ac651035728c88229eb207e4195a16867fb.zip
[tsan] two more compile-time optimizations:
- don't isntrument reads from constant globals. Saves ~1.5% of instrumented instructions on CPU2006 (counting static instructions, not their execution). - don't insrument reads from vtable (which is a global constant too). Saves ~5%. I did not measure the run-time impact of this, but it is certainly non-negative. llvm-svn: 154444
Diffstat (limited to 'lldb/scripts/Python/edit-swig-python-wrapper-file.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud