[WinEH] Adjust the 32-bit SEH prologue to better match reality
authorReid Kleckner <reid@kleckner.net>
Fri, 29 May 2015 22:57:46 +0000 (22:57 +0000)
committerReid Kleckner <reid@kleckner.net>
Fri, 29 May 2015 22:57:46 +0000 (22:57 +0000)
commitbfa311df8ca99f0565af96b7882dc25ce12da188
treebe6d3915b56d9ac629b478cae93611e0ad6dcd73
parentbb06a52fa7227cf2589ec3a991ebbb1953835a80
[WinEH] Adjust the 32-bit SEH prologue to better match reality

It turns out that _except_handler3 and _except_handler4 really use the
same stack allocation layout, at least today. They just make different
choices about encoding the LSDA.

This is in preparation for lowering the llvm.eh.exceptioninfo().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238627 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86WinEHState.cpp
test/CodeGen/X86/win32-eh.ll