summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins/addvdi3.c
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2016-04-07 11:33:44 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2016-04-07 11:33:44 +0000
commit33c15c91a674045a47eadb559d41c77d5997af66 (patch)
tree559739a40a9760d6b5c3934ddb3c0c30c8334380 /compiler-rt/lib/builtins/addvdi3.c
parentaafb41ae473576c1c06bf3d03dcb1fec15f7b711 (diff)
downloadbcm5719-llvm-33c15c91a674045a47eadb559d41c77d5997af66.tar.gz
bcm5719-llvm-33c15c91a674045a47eadb559d41c77d5997af66.zip
[tsan] Fix synchronization in dispatch_sync
In the interceptor for dispatch_sync, we're currently missing synchronization between the callback and the code *after* the call to dispatch_sync. This patch fixes this by adding an extra release+acquire pair to dispatch_sync() and similar APIs. Added a testcase. Differential Revision: http://reviews.llvm.org/D18502 llvm-svn: 265659
Diffstat (limited to 'compiler-rt/lib/builtins/addvdi3.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud