[WinEH] Pass the catch adjectives to catchpad directly

This avoids building a fake LLVM IR global variable just to ferry an i32
down into LLVM codegen. It also puts a nail in the coffin of using MS
ABI C++ EH with landingpads, since now we'll assert in the lpad code
when flags are present.

llvm-svn: 247843
This commit is contained in:
Reid Kleckner
2015-09-16 20:15:55 +00:00
parent 7d7ca2f2ba
commit 10aa77032d
11 changed files with 111 additions and 105 deletions

View File

@@ -723,9 +723,6 @@ public:
/// Get the address of the RTTI descriptor for the given type.
llvm::Constant *GetAddrOfRTTIDescriptor(QualType Ty, bool ForEH = false);
llvm::Constant *getAddrOfCXXCatchHandlerType(QualType Ty,
QualType CatchHandlerType);
/// Get the address of a uuid descriptor .
ConstantAddress GetAddrOfUuidDescriptor(const CXXUuidofExpr* E);