[WinEH] Pull Adjectives and CatchObj out of the catchpad arg list
authorReid Kleckner <rnk@google.com>
Wed, 16 Sep 2015 20:16:27 +0000 (20:16 +0000)
committerReid Kleckner <rnk@google.com>
Wed, 16 Sep 2015 20:16:27 +0000 (20:16 +0000)
commit66ef931b4346fdd73f82f6d6c24391f2ef923943
tree6f1512251318a029e66828b36f3d98f015c6c138
parentad53a65179bb143fc0f5c7846277869d6c68034f
[WinEH] Pull Adjectives and CatchObj out of the catchpad arg list

Clang now passes the adjectives as an argument to catchpad.

Getting the CatchObj working is simply a matter of threading another
static alloca through codegen, first as an alloca, then as a frame
index, and finally as a frame offset.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247844 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/WinEHFuncInfo.h
lib/CodeGen/AsmPrinter/WinException.cpp
lib/CodeGen/PrologEpilogInserter.cpp
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
lib/CodeGen/WinEHPrepare.cpp
lib/Target/X86/X86FrameLowering.cpp
test/CodeGen/WinEH/wineh-statenumbering.ll
test/CodeGen/X86/win-catchpad-csrs.ll
test/CodeGen/X86/win-catchpad.ll
test/Transforms/SimplifyCFG/empty-cleanuppad.ll