aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGDebugInfo.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-01-26 04:49:33 +0000
committerAnders Carlsson <andersca@mac.com>2010-01-26 04:49:33 +0000
commitd6f9a0d14b47e7ea9739623544d967682f41b86d (patch)
treed4adc4eb7ce9b4a802a1827895f1928a820a8cd6 /lib/CodeGen/CGDebugInfo.h
parentbea9b2375a6c5c121dcd83d4f2d544803bacd962 (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.h5
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,