diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-08-18 16:55:33 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-08-18 16:55:33 +0000 |
commit | adfbf993d6068a9196ed1036a9039a8cb566b3d2 (patch) | |
tree | ac19232fbc2186b37780c23cda1bc916eb2adac7 /clang/lib/CodeGen/CGDebugInfo.h | |
parent | c96c699a1673c5704a3e994627b18e26850b01c9 (diff) | |
download | bcm5719-llvm-adfbf993d6068a9196ed1036a9039a8cb566b3d2.tar.gz bcm5719-llvm-adfbf993d6068a9196ed1036a9039a8cb566b3d2.zip |
DebugInfo: Don't emit vbase 'containing types' for context chain limited types
Possible minor reduction in debug info & avoid some cases where creating
a context chain could lead to the type the context chain is being
created for, being created. (this is still possible with template
parameters - tests/fixes/improvements to follow)
llvm-svn: 188639
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h index 39436e18a72..54b9267f8e4 100644 --- a/clang/lib/CodeGen/CGDebugInfo.h +++ b/clang/lib/CodeGen/CGDebugInfo.h @@ -117,6 +117,7 @@ class CGDebugInfo { llvm::DIType CreateType(const RecordType *Ty, bool Declaration); llvm::DIType CreateTypeDefinition(const RecordType *Ty); llvm::DIType CreateLimitedType(const RecordType *Ty); + void CollectContainingType(const CXXRecordDecl *RD, llvm::DICompositeType CT); llvm::DIType CreateType(const ObjCInterfaceType *Ty, llvm::DIFile F); llvm::DIType CreateType(const ObjCObjectType *Ty, llvm::DIFile F); llvm::DIType CreateType(const VectorType *Ty, llvm::DIFile F); |