diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2016-06-27 16:10:14 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2016-06-27 16:10:14 +0000 |
commit | ca2668d038ffa62d84ab1a9f3bdad1cd120a1e70 (patch) | |
tree | a68364be1e6b2f8a0e1223d44ba63536c7b4fc0f /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py | |
parent | 7d1ebed0c5c3c7e313cb47d89942030a896650cd (diff) | |
download | bcm5719-llvm-ca2668d038ffa62d84ab1a9f3bdad1cd120a1e70.tar.gz bcm5719-llvm-ca2668d038ffa62d84ab1a9f3bdad1cd120a1e70.zip |
[tsan] Treat non-barrier OSAtomic* functions as barriers to avoid false positives
The non-barrier versions of OSAtomic* functions are semantically mo_relaxed, but the two variants (e.g. OSAtomicAdd32 and OSAtomicAdd32Barrier) are actually aliases of each other, and we cannot have different interceptors for them, because they're actually the same function. Thus, we have to stay conservative and treat the non-barrier versions as mo_acq_rel.
Differential Revision: http://reviews.llvm.org/D21733
llvm-svn: 273890
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py')
0 files changed, 0 insertions, 0 deletions