diff options
author | Devang Patel <dpatel@apple.com> | 2010-01-28 00:28:01 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-01-28 00:28:01 +0000 |
commit | a6da192bbb3cb2b99200f60726b78e2d3d1f1598 (patch) | |
tree | e66c41198d93ac41f4a35f24fd068c7669294489 /lib/CodeGen/CGDebugInfo.h | |
parent | 5352ac06d8f6194825bb2a99ffa009b61bafb503 (diff) |
Include "this" pointer argument while emitting debug info for a C++ method.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94710 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.h')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CGDebugInfo.h b/lib/CodeGen/CGDebugInfo.h index 405f02ba7b..5362413100 100644 --- a/lib/CodeGen/CGDebugInfo.h +++ b/lib/CodeGen/CGDebugInfo.h @@ -83,6 +83,8 @@ class CGDebugInfo { llvm::DIType CreateType(const ArrayType *Ty, llvm::DICompileUnit U); llvm::DIType CreateType(const LValueReferenceType *Ty, llvm::DICompileUnit U); llvm::DIType CreateType(const MemberPointerType *Ty, llvm::DICompileUnit U); + llvm::DIType getOrCreateMethodType(const CXXMethodDecl *Method, + llvm::DICompileUnit Unit); llvm::DIType CreatePointerLikeType(unsigned Tag, const Type *Ty, QualType PointeeTy, |