diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2016-06-29 10:30:50 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2016-06-29 10:30:50 +0000 |
commit | 4d81bbdf535afb6fe2ae86d17141495f7c39af71 (patch) | |
tree | b69c819dae614bcc5481bf766d7321b7aa6531ea /lldb/packages/Python/lldbsuite/test | |
parent | 7cbd742e3b5d06af5aa74ce0df7d52e04005301f (diff) | |
download | bcm5719-llvm-4d81bbdf535afb6fe2ae86d17141495f7c39af71.tar.gz bcm5719-llvm-4d81bbdf535afb6fe2ae86d17141495f7c39af71.zip |
[tsan] Stop extending the block’s lifetime in dispatch_group_async
The dispatch_group_async interceptor actually extends the lifetime of the executed block. This means the destructor of the block (and captured variables) is called *after* dispatch_group_leave, which changes the semantics of dispatch_group_async. This patch fixes that.
Differential Revision: http://reviews.llvm.org/D21816
llvm-svn: 274117
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions