[WinEH] Fill out .xdata for catch objects
authorDavid Majnemer <david.majnemer@gmail.com>
Fri, 3 Apr 2015 22:49:05 +0000 (22:49 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Fri, 3 Apr 2015 22:49:05 +0000 (22:49 +0000)
commit8431785c5eb13cb18ffad0c6a133ab7dd0600a34
tree9deb3d966a518ffefe3513214708e2f1167a6e35
parentf89ce9a09d44506828e5397bdbe378addbbcf9bd
[WinEH] Fill out .xdata for catch objects

This add support for catching an exception such that an exception object
available to the catch handler will be initialized by the runtime.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234062 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/WinEHFuncInfo.h
lib/CodeGen/AsmPrinter/Win64Exception.cpp
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/WinEHPrepare.cpp
test/CodeGen/WinEH/cppeh-prepared-catch.ll