tsan: reapply 212531 and 212532 with a fix
authorDmitry Vyukov <dvyukov@google.com>
Tue, 8 Jul 2014 20:37:16 +0000 (20:37 +0000)
committerDmitry Vyukov <dvyukov@google.com>
Tue, 8 Jul 2014 20:37:16 +0000 (20:37 +0000)
commit67ccf9851c9494d5f5811187bfc26856ad597788
treeb61d908491e635396e7bcf7d68e23f7823677ef3
parentcb1ad6f58240cceb5d387f0ce13e49e496662553
tsan: reapply 212531 and 212532 with a fix
don't reset s->addr as well

llvm-svn: 212565
compiler-rt/lib/tsan/rtl/tsan_sync.cc
compiler-rt/lib/tsan/tests/unit/tsan_sync_test.cc