diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-03-13 18:26:17 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-03-13 18:26:17 +0000 |
commit | b986906ec94130fe363fe7ed42b336219e35fb9e (patch) | |
tree | bb162a76402326d701140cb36f45b8308d338612 /lib/CodeGen/CGCXXABI.h | |
parent | a6eaa6b50b02278eacfb52504ad4a1a04a0bf00e (diff) |
MS ABI: Implement __GetExceptionInfo for std::make_exception_ptr
std::make_exception_ptr calls std::__GetExceptionInfo in order to figure
out how to properly copy the exception object.
Differential Revision: http://reviews.llvm.org/D8280
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@232188 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCXXABI.h')
-rw-r--r-- | lib/CodeGen/CGCXXABI.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CGCXXABI.h b/lib/CodeGen/CGCXXABI.h index 840e1e8657..df2aa1a7b1 100644 --- a/lib/CodeGen/CGCXXABI.h +++ b/lib/CodeGen/CGCXXABI.h @@ -216,6 +216,7 @@ public: const CXXDestructorDecl *Dtor) = 0; virtual void emitRethrow(CodeGenFunction &CGF, bool isNoReturn) = 0; virtual void emitThrow(CodeGenFunction &CGF, const CXXThrowExpr *E) = 0; + virtual llvm::GlobalVariable *getThrowInfo(QualType T) { return nullptr; } virtual void emitBeginCatch(CodeGenFunction &CGF, const CXXCatchStmt *C) = 0; |