summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGException.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2011-06-22 20:21:51 +0000
committerFariborz Jahanian <fjahanian@apple.com>2011-06-22 20:21:51 +0000
commit0a3cfcc87f0738cedf1f06783334e0cfd26b9cae (patch)
tree17171c44db10de8b8e9e89739cb91a2773bbd405 /clang/lib/CodeGen/CGException.cpp
parent2354f87a9d1706b92c691c49862337921b52ecda (diff)
downloadbcm5719-llvm-0a3cfcc87f0738cedf1f06783334e0cfd26b9cae.tar.gz
bcm5719-llvm-0a3cfcc87f0738cedf1f06783334e0cfd26b9cae.zip
Alloa catching Objective-C id's being thrown with C++ throw
in Darwin's fragile abi mode. // rdar://8940528 llvm-svn: 133639
Diffstat (limited to 'clang/lib/CodeGen/CGException.cpp')
-rw-r--r--clang/lib/CodeGen/CGException.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGException.cpp b/clang/lib/CodeGen/CGException.cpp
index 1a4a5f988a5..79a730eb7ea 100644
--- a/clang/lib/CodeGen/CGException.cpp
+++ b/clang/lib/CodeGen/CGException.cpp
@@ -521,7 +521,7 @@ void CodeGenFunction::EnterCXXTryStmt(const CXXTryStmt &S, bool IsFnTryBlock) {
llvm::Value *TypeInfo = 0;
if (CaughtType->isObjCObjectPointerType())
- TypeInfo = CGM.getObjCRuntime().GetEHType(CaughtType);
+ TypeInfo = CGM.getObjCRuntime().GetEHType(CaughtType, this);
else
TypeInfo = CGM.GetAddrOfRTTIDescriptor(CaughtType, /*ForEH=*/true);
CatchScope->setHandler(I, TypeInfo, Handler);
OpenPOWER on IntegriCloud