aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2016-08-02 14:30:52 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2016-08-02 14:30:52 +0000
commit3a748d60670c5dc81572ea680804b3e3486c20e0 (patch)
tree4d6511543cdd00f7f0297d7f0499885641237a56 /llvm/lib/CodeGen/MachineFunction.cpp
parent58f562887b10edc60f43fde6fdefab592e5c8aac (diff)
downloadllvm-3a748d60670c5dc81572ea680804b3e3486c20e0.zip
llvm-3a748d60670c5dc81572ea680804b3e3486c20e0.tar.gz
llvm-3a748d60670c5dc81572ea680804b3e3486c20e0.tar.bz2
[tsan] Fix the behavior of OSAtomicTestAndClear
The system implementation of OSAtomicTestAndClear returns the original bit, but the TSan interceptor has a bug which always returns zero from the function. This patch fixes this and adds a test. Differential Revision: https://reviews.llvm.org/D23061 llvm-svn: 277461
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions