aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-07-31 17:58:45 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-07-31 17:58:45 +0000
commitdbf1045ad75c41e0711e075cf9e0ffd433c55c67 (patch)
treec75cc12748d00898b082c1e1d556af59ec43ab8d /clang/lib/CodeGen/CodeGenFunction.h
parent654e130b6ec76c1a2910b2594cb403ecd2773af8 (diff)
downloadllvm-dbf1045ad75c41e0711e075cf9e0ffd433c55c67.zip
llvm-dbf1045ad75c41e0711e075cf9e0ffd433c55c67.tar.gz
llvm-dbf1045ad75c41e0711e075cf9e0ffd433c55c67.tar.bz2
[MS ABI] Hook clang up to the new EH instructions
The new EH instructions make it possible for LLVM to generate .xdata tables that the MSVC personality routines will be happy about. Because this is experimental, hide it behind a -cc1 flag (-fnew-ms-eh). Differential Revision: http://reviews.llvm.org/D11405 llvm-svn: 243767
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index b7d6bbd..c463350 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -665,6 +665,7 @@ public:
llvm::BasicBlock *getEHResumeBlock(bool isCleanup);
llvm::BasicBlock *getEHDispatchBlock(EHScopeStack::stable_iterator scope);
+ llvm::BasicBlock *getMSVCDispatchBlock(EHScopeStack::stable_iterator scope);
/// An object to manage conditionally-evaluated expressions.
class ConditionalEvaluation {