[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:
@@ -3808,12 +3808,6 @@ llvm::Constant *CodeGenModule::EmitUuidofInitializer(StringRef Uuid) {
|
||||
return llvm::ConstantStruct::getAnon(Fields);
|
||||
}
|
||||
|
||||
llvm::Constant *
|
||||
CodeGenModule::getAddrOfCXXCatchHandlerType(QualType Ty,
|
||||
QualType CatchHandlerType) {
|
||||
return getCXXABI().getAddrOfCXXCatchHandlerType(Ty, CatchHandlerType);
|
||||
}
|
||||
|
||||
llvm::Constant *CodeGenModule::GetAddrOfRTTIDescriptor(QualType Ty,
|
||||
bool ForEH) {
|
||||
// Return a bogus pointer if RTTI is disabled, unless it's for EH.
|
||||
|
||||
Reference in New Issue
Block a user