]> granicus.if.org Git - clang/commit
Fix a bug in @finally emission in both the fragile and non-fragile EH schemes
authorJohn McCall <rjmccall@apple.com>
Wed, 11 Aug 2010 00:16:14 +0000 (00:16 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 11 Aug 2010 00:16:14 +0000 (00:16 +0000)
commitd96a8e771ca9f406f0fa1dd4639997335ae444a7
tree7fbb0ec0b7727e1b43f49076e6bd647ec8b187c1
parentf598087b4adfea164acdd5b53ea2951bde740a2d
Fix a bug in @finally emission in both the fragile and non-fragile EH schemes
where we weren't accounting for the possibility that a @finally block might
have internal cleanups and therefore might write to the cleanup destination slot.

Fixes <rdar://problem/8293901>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110760 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGException.cpp
lib/CodeGen/CGObjCMac.cpp
test/CodeGenObjC/exceptions.m