summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2017-02-15 05:15:28 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2017-02-15 05:15:28 +0000
commit6697eff4b1eac5ae0bd6274f15a4e493b0b1d951 (patch)
tree9d1f32c31bcef3b91dc4e6bb53adce4f7c7ab98c /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
parent171e4b545df5cedf8f631e6724a93cf90d42502c (diff)
downloadbcm5719-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/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud