diff options
| author | Kuba Brecka <kuba.brecka@gmail.com> | 2016-08-02 14:30:52 +0000 |
|---|---|---|
| committer | Kuba Brecka <kuba.brecka@gmail.com> | 2016-08-02 14:30:52 +0000 |
| commit | 3a748d60670c5dc81572ea680804b3e3486c20e0 (patch) | |
| tree | 4d6511543cdd00f7f0297d7f0499885641237a56 /llvm/lib/Target/TargetLoweringObjectFile.cpp | |
| parent | 58f562887b10edc60f43fde6fdefab592e5c8aac (diff) | |
| download | bcm5719-llvm-3a748d60670c5dc81572ea680804b3e3486c20e0.tar.gz bcm5719-llvm-3a748d60670c5dc81572ea680804b3e3486c20e0.zip | |
[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/Target/TargetLoweringObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions

