diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2016-04-07 11:33:44 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2016-04-07 11:33:44 +0000 |
commit | 33c15c91a674045a47eadb559d41c77d5997af66 (patch) | |
tree | 559739a40a9760d6b5c3934ddb3c0c30c8334380 /compiler-rt/lib/builtins/mulvti3.c | |
parent | aafb41ae473576c1c06bf3d03dcb1fec15f7b711 (diff) | |
download | bcm5719-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/mulvti3.c')
0 files changed, 0 insertions, 0 deletions