diff options
author | Kostya Serebryany <kcc@google.com> | 2012-04-10 22:29:17 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2012-04-10 22:29:17 +0000 |
commit | 5ba61ac651035728c88229eb207e4195a16867fb (patch) | |
tree | 523f2531b40b86cbb4f53b87f68efc1a65318789 /lldb/scripts/Python/edit-swig-python-wrapper-file.py | |
parent | 606b5291e56b9a26a9f9fc090b12b7c19745cf5d (diff) | |
download | bcm5719-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