aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2015-09-16 20:15:55 +0000
committerReid Kleckner <rnk@google.com>2015-09-16 20:15:55 +0000
commit10aa77032de43681231e81ee3f2e7d232b16dc9c (patch)
tree1a1bcae8633d6ba6a4753bbc7573c515ece19467 /clang/lib/CodeGen/CodeGenModule.cpp
parent7d7ca2f2ba68340be3d5927f7e8c68d984638053 (diff)
downloadllvm-10aa77032de43681231e81ee3f2e7d232b16dc9c.zip
llvm-10aa77032de43681231e81ee3f2e7d232b16dc9c.tar.gz
llvm-10aa77032de43681231e81ee3f2e7d232b16dc9c.tar.bz2
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index bb3bbf2..34eb06d 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -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.