diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2018-07-26 16:51:21 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2018-07-26 16:51:21 +0000 |
commit | cb6a933c9bd010f06b0ae50893afb3f821bd5fe0 (patch) | |
tree | a8d4d01d376436d9211d8ae6d7c213b42770854b /llvm/lib/CodeGen/LiveRangeEdit.cpp | |
parent | 6fcc7d703b571f456f662a0be1ec6f449d55fdb9 (diff) | |
download | bcm5719-llvm-cb6a933c9bd010f06b0ae50893afb3f821bd5fe0.tar.gz bcm5719-llvm-cb6a933c9bd010f06b0ae50893afb3f821bd5fe0.zip |
[CodeGen][ObjC] Make block copy/dispose helper functions exception-safe.
When an exception is thrown in a block copy helper function, captured
objects that have previously been copied should be destructed or
released. Similarly, captured objects that are yet to be released should
be released when an exception is thrown in a dispose helper function.
rdar://problem/42410255
Differential Revision: https://reviews.llvm.org/D49718
llvm-svn: 338041
Diffstat (limited to 'llvm/lib/CodeGen/LiveRangeEdit.cpp')
0 files changed, 0 insertions, 0 deletions