diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2015-07-31 17:58:45 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2015-07-31 17:58:45 +0000 |
| commit | dbf1045ad75c41e0711e075cf9e0ffd433c55c67 (patch) | |
| tree | c75cc12748d00898b082c1e1d556af59ec43ab8d /clang/lib/CodeGen/EHScopeStack.h | |
| parent | 654e130b6ec76c1a2910b2594cb403ecd2773af8 (diff) | |
| download | bcm5719-llvm-dbf1045ad75c41e0711e075cf9e0ffd433c55c67.tar.gz bcm5719-llvm-dbf1045ad75c41e0711e075cf9e0ffd433c55c67.zip | |
[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/EHScopeStack.h')
| -rw-r--r-- | clang/lib/CodeGen/EHScopeStack.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/EHScopeStack.h b/clang/lib/CodeGen/EHScopeStack.h index dc7a6c60856..8cad5b61eaf 100644 --- a/clang/lib/CodeGen/EHScopeStack.h +++ b/clang/lib/CodeGen/EHScopeStack.h @@ -329,6 +329,10 @@ public: /// Pops a terminate handler off the stack. void popTerminate(); + void pushCatchEnd(llvm::BasicBlock *CatchEndBlockBB); + + void popCatchEnd(); + // Returns true iff the current scope is either empty or contains only // lifetime markers, i.e. no real cleanup code bool containsOnlyLifetimeMarkers(stable_iterator Old) const; |

