summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (from parent 1: 827f4eb)
raw | patch | inline | side by side (from parent 1: 827f4eb)
author | Adrian Prantl <aprantl@apple.com> | |
Fri, 19 Dec 2014 00:01:20 +0000 (00:01 +0000) | ||
committer | Adrian Prantl <aprantl@apple.com> | |
Fri, 19 Dec 2014 00:01:20 +0000 (00:01 +0000) |
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224555 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfUnit.cpp | patch | blob | history |
index b616e54df5c10d4bec50500a00873ae500084dd8..7606a61ff714b59a4d99296c43a316c615bbfe46 100644 (file)
if (CTy.isAppleBlockExtension())
addFlag(Buffer, dwarf::DW_AT_APPLE_block);
+ // This is outside the DWARF spec, but GDB expects a DW_AT_containing_type
+ // inside C++ composite types to point to the base class with the vtable.
DICompositeType ContainingType(resolve(CTy.getContainingType()));
if (ContainingType)
addDIEEntry(Buffer, dwarf::DW_AT_containing_type,