diff options
| author | Akira Hatanaka <ahatanaka@apple.com> | 2017-02-15 05:15:28 +0000 |
|---|---|---|
| committer | Akira Hatanaka <ahatanaka@apple.com> | 2017-02-15 05:15:28 +0000 |
| commit | 6697eff4b1eac5ae0bd6274f15a4e493b0b1d951 (patch) | |
| tree | 9d1f32c31bcef3b91dc4e6bb53adce4f7c7ab98c /lldb/packages/Python/lldbsuite/test/python_api/thread | |
| parent | 171e4b545df5cedf8f631e6724a93cf90d42502c (diff) | |
| download | bcm5719-llvm-6697eff4b1eac5ae0bd6274f15a4e493b0b1d951.tar.gz bcm5719-llvm-6697eff4b1eac5ae0bd6274f15a4e493b0b1d951.zip | |
[Sema] Disallow returning a __block variable via a move.
r274291 made changes to prefer calling a move constructor to calling a
copy constructor when returning from a function. This caused programs to
crash when a __block variable in the heap was moved out and used later.
This commit fixes the bug by disallowing moving out of __block variables
implicitly.
rdar://problem/28181080
Differential Revision: https://reviews.llvm.org/D29908
llvm-svn: 295150
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread')
0 files changed, 0 insertions, 0 deletions

