Skip to content
Commit 0f7e949a authored by Dmitry Vyukov's avatar Dmitry Vyukov
Browse files

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
parent a4a99ad1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment