mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
Debug Info: Use identifier to reference DIType in containing type field of
a DICompositeType. Verifier is updated accordingly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190190 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1083,7 +1083,7 @@ void CompileUnit::constructTypeDIE(DIE &Buffer, DICompositeType CTy) {
|
||||
if (CTy.isAppleBlockExtension())
|
||||
addFlag(&Buffer, dwarf::DW_AT_APPLE_block);
|
||||
|
||||
DICompositeType ContainingType = CTy.getContainingType();
|
||||
DICompositeType ContainingType(DD->resolve(CTy.getContainingType()));
|
||||
if (DIDescriptor(ContainingType).isCompositeType())
|
||||
addDIEEntry(&Buffer, dwarf::DW_AT_containing_type, dwarf::DW_FORM_ref4,
|
||||
getOrCreateTypeDIE(DIType(ContainingType)));
|
||||
|
Reference in New Issue
Block a user