summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/InterleavedAccessPass.cpp
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2016-09-08 10:15:20 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2016-09-08 10:15:20 +0000
commit419ebb289104f75207dc5a5c56e75d497534eb8a (patch)
tree933dbd2212efbf207e2aecf0ac04bd0853a55ac1 /llvm/lib/CodeGen/InterleavedAccessPass.cpp
parent2f1fbaebe25a4637cf75ec9ab1877c64584ede24 (diff)
downloadbcm5719-llvm-419ebb289104f75207dc5a5c56e75d497534eb8a.tar.gz
bcm5719-llvm-419ebb289104f75207dc5a5c56e75d497534eb8a.zip
[tsan] Support C++11 call_once in TSan on Darwin
This patch adds a wrapper for call_once, which uses an already-compiled helper __call_once with an atomic release which is invisible to TSan. To avoid false positives, the interceptor performs an explicit atomic release in the callback wrapper. Differential Revision: https://reviews.llvm.org/D24188 llvm-svn: 280920
Diffstat (limited to 'llvm/lib/CodeGen/InterleavedAccessPass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud