diff options
author | Anders Carlsson <andersca@mac.com> | 2010-01-26 04:49:33 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-01-26 04:49:33 +0000 |
commit | d6f9a0d14b47e7ea9739623544d967682f41b86d (patch) | |
tree | d4adc4eb7ce9b4a802a1827895f1928a820a8cd6 /lib/CodeGen/CGDebugInfo.h | |
parent | bea9b2375a6c5c121dcd83d4f2d544803bacd962 (diff) |
Factor creating the DISubprogram for a member function out into a separate function.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94513 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.h')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/CGDebugInfo.h b/lib/CodeGen/CGDebugInfo.h index 2af1d77b09..e785bef101 100644 --- a/lib/CodeGen/CGDebugInfo.h +++ b/lib/CodeGen/CGDebugInfo.h @@ -87,6 +87,11 @@ class CGDebugInfo { llvm::DIType CreatePointerLikeType(unsigned Tag, const Type *Ty, QualType PointeeTy, llvm::DICompileUnit U); + + llvm::DISubprogram CreateCXXMemberFunction(GlobalDecl GD, + llvm::DICompileUnit Unit, + llvm::DICompositeType &RecordTy); + void CollectCXXMemberFunctions(const CXXRecordDecl *Decl, llvm::DICompileUnit U, llvm::SmallVectorImpl<llvm::DIDescriptor> &E, |