diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2016-07-06 11:02:49 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2016-07-06 11:02:49 +0000 |
commit | fd995fe65401ef34bbdd0fa0458fe65b44d938ae (patch) | |
tree | c55c265488369c5c8eff88866ba3d1a2c17c891a /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 9c6c8e99919a6f21e382da789a0e046026d2f18a (diff) | |
download | llvm-fd995fe65401ef34bbdd0fa0458fe65b44d938ae.zip llvm-fd995fe65401ef34bbdd0fa0458fe65b44d938ae.tar.gz llvm-fd995fe65401ef34bbdd0fa0458fe65b44d938ae.tar.bz2 |
[tsan] Fix false positives with GCD dispatch_source_*
We already have interceptors for dispatch_source API (e.g. dispatch_source_set_event_handler), but they currently only handle submission synchronization. We also need to synchronize based on the target queue (serial, concurrent), in other words, we need to use dispatch_callback_wrap. This patch implements that.
Differential Revision: http://reviews.llvm.org/D21999
llvm-svn: 274619
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions