llvm-svn: 232537
This commit is contained in:
David Majnemer
2015-03-17 20:35:00 +00:00
parent 9ef5671d36
commit 443250f08d
6 changed files with 30 additions and 23 deletions

View File

@@ -3644,6 +3644,10 @@ llvm::Constant *CodeGenModule::EmitUuidofInitializer(StringRef Uuid) {
return llvm::ConstantStruct::getAnon(Fields);
}
llvm::Constant *CodeGenModule::getAddrOfCXXCatchDescriptor(QualType Ty) {
return getCXXABI().getAddrOfCXXCatchDescriptor(Ty);
}
llvm::Constant *CodeGenModule::GetAddrOfRTTIDescriptor(QualType Ty,
bool ForEH) {
// Return a bogus pointer if RTTI is disabled, unless it's for EH.
@@ -3656,7 +3660,7 @@ llvm::Constant *CodeGenModule::GetAddrOfRTTIDescriptor(QualType Ty,
LangOpts.ObjCRuntime.isGNUFamily())
return ObjCRuntime->GetEHType(Ty);
return getCXXABI().getAddrOfRTTIDescriptor(Ty, ForEH);
return getCXXABI().getAddrOfRTTIDescriptor(Ty);
}
void CodeGenModule::EmitOMPThreadPrivateDecl(const OMPThreadPrivateDecl *D) {