[SEH] Emit 32-bit SEH tables for the new EH IR
authorReid Kleckner <rnk@google.com>
Wed, 9 Sep 2015 21:10:03 +0000 (21:10 +0000)
committerReid Kleckner <rnk@google.com>
Wed, 9 Sep 2015 21:10:03 +0000 (21:10 +0000)
commit94b704c4691a8b10eff156277976702475bdfd3e
treee1a2622631516e9ea1177e4bc60ef8c45dfcaa7f
parent81f3ccb505f8a594703bfc574442bb5c8bb841e3
[SEH] Emit 32-bit SEH tables for the new EH IR

The 32-bit tables don't actually contain PC range data, so emitting them
is incredibly simple.

The 64-bit tables, on the other hand, use the same table for state
numbering as well as label ranges. This makes things more difficult, so
it will be implemented later.

llvm-svn: 247192
llvm/include/llvm/CodeGen/WinEHFuncInfo.h
llvm/lib/CodeGen/AsmPrinter/WinException.cpp
llvm/lib/CodeGen/AsmPrinter/WinException.h
llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/CodeGen/WinEHPrepare.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86WinEHState.cpp
llvm/test/CodeGen/X86/win32-seh-catchpad.ll [new file with mode: 0644]