[WinEH] Correctly handle inlined __finally blocks with captures
authorReid Kleckner <reid@kleckner.net>
Wed, 22 Apr 2015 00:07:52 +0000 (00:07 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 22 Apr 2015 00:07:52 +0000 (00:07 +0000)
commit8992ead662a53c3dcb199b216c91e504b9e91f98
tree6a1eabef26442aff84b56a3dd37cf8a542c55866
parentd62a1e966c5b4ffb4ee904c20fe3026f59d12b85
[WinEH] Correctly handle inlined __finally blocks with captures

We should also teach the inliner to collapse framerecover of
frameaddress of the current frame down to an alloca, but that can happen
later.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235459 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/WinEHPrepare.cpp
test/CodeGen/WinEH/seh-inlined-finally.ll