]> granicus.if.org Git - clang/commit
In the fragile ObjC ABI, save the caught exception to the side if there are
authorJohn McCall <rjmccall@apple.com>
Mon, 4 Oct 2010 23:42:51 +0000 (23:42 +0000)
committerJohn McCall <rjmccall@apple.com>
Mon, 4 Oct 2010 23:42:51 +0000 (23:42 +0000)
commit9e2213ddd5b3510fa48e3175e9d098db4224cc30
tree63ef1fd3831495ef42ce3023f0dc91adfcf47766
parent49c8465f14fc3b2e1a32c7016ad3fb4e2cf8d466
In the fragile ObjC ABI, save the caught exception to the side if there are
both @catches and a @finally, because the second call to @objc_exception_try_enter
will clobber the exception slot.  Fixes rdar://problem/8440970.

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