From 9a837be2b947946e6918bd81016e5f6d78af5f1c Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Wed, 7 Nov 2012 16:50:40 +0000 Subject: Fix the Objective-C exception rethrow from cleanups (GNU runtimes). Note that a bug in the inliner still causes the wrong thing to happen at -O2 and above (PR14116). llvm-svn: 167534 --- clang/lib/CodeGen/CodeGenFunction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CodeGenFunction.h') diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index fadc391328f..f2ab226ab53 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -908,7 +908,7 @@ public: /// themselves). void popCatchScope(); - llvm::BasicBlock *getEHResumeBlock(); + llvm::BasicBlock *getEHResumeBlock(bool isCleanup); llvm::BasicBlock *getEHDispatchBlock(EHScopeStack::stable_iterator scope); /// An object to manage conditionally-evaluated expressions. -- cgit v1.2.3