tsan: instrument all atomics (including fetch_add, exchange, cas, etc)
authorDmitry Vyukov <dvyukov@google.com>
Fri, 9 Nov 2012 12:55:36 +0000 (12:55 +0000)
committerDmitry Vyukov <dvyukov@google.com>
Fri, 9 Nov 2012 12:55:36 +0000 (12:55 +0000)
commit9f8a90b3ce0e248e3b68b056d4c840295facbc02
treec9ed7dfa76390c8dc617ae976ae250da3ec53626
parentb1bf1eeede72b8c93505dd80fdf21aed0e205c7d
tsan: instrument all atomics (including fetch_add, exchange, cas, etc)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167612 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
test/Instrumentation/ThreadSanitizer/atomic.ll