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 | 031c1e40660c8eaaa418ce84b16b82b37ca32652 (patch) | |
tree | eb00e9d649aa7a2a8f7e5c4f3e7754d40729efab /lib/esan/working_set.cpp | |
parent | 009632990e8c5b96eb0973782381fa0e778858ae (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@271663 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/esan/working_set.cpp')
0 files changed, 0 insertions, 0 deletions