[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)
commitf14787dad831924a4955f8741d2d76e27be6517d
treedd633779745b4e6775bbdea7f928a941068cb249
parent506993636e7300bedd7555ebd4c820b10ffd9017
[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.

llvm-svn: 235459
llvm/lib/CodeGen/WinEHPrepare.cpp
llvm/test/CodeGen/WinEH/seh-inlined-finally.ll