diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2016-06-03 11:48:27 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2016-06-03 11:48:27 +0000 |
commit | 0f7e949a4276b0c65877ce954565f915a915513e (patch) | |
tree | 986e7d6200c6f6749dcc3a7d6c9ec006cbcc72a6 /clang/unittests/Format/FormatTestSelective.cpp | |
parent | a4a99ad1bcd8d63107be8f48422bf3896108dbf1 (diff) | |
download | bcm5719-llvm-0f7e949a4276b0c65877ce954565f915a915513e.tar.gz bcm5719-llvm-0f7e949a4276b0c65877ce954565f915a915513e.zip |
tsan: rely on AnnotateRWLockCreateStatic to detect linker-initialized mutexes
The new annotation was added a while ago, but was not actually used.
Use the annotation to detect linker-initialized mutexes instead
of the broken IsGlobalVar which has both false positives and false
negatives. Remove IsGlobalVar mess.
llvm-svn: 271663
Diffstat (limited to 'clang/unittests/Format/FormatTestSelective.cpp')
0 files changed, 0 insertions, 0 deletions