forked from OSchip/llvm-project
parent
e9348f6df5
commit
666dc635c7
|
@ -1026,10 +1026,8 @@ void CompileUnit::constructTypeDIE(DIE &Buffer, DICompositeType CTy) {
|
|||
if (DIDescriptor(ContainingType).isCompositeType())
|
||||
addDIEEntry(&Buffer, dwarf::DW_AT_containing_type, dwarf::DW_FORM_ref4,
|
||||
getOrCreateTypeDIE(DIType(ContainingType)));
|
||||
else {
|
||||
DIDescriptor Context = CTy.getContext();
|
||||
addToContextOwner(&Buffer, Context);
|
||||
}
|
||||
else
|
||||
addToContextOwner(&Buffer, CTy.getContext());
|
||||
|
||||
if (CTy.isObjcClassComplete())
|
||||
addFlag(&Buffer, dwarf::DW_AT_APPLE_objc_complete_type);
|
||||
|
|
Loading…
Reference in New Issue