forked from OSchip/llvm-project
Struct types are described using field types only.
llvm-svn: 74477
This commit is contained in:
parent
ae7ac01059
commit
0a9f9759a3
|
@ -678,9 +678,6 @@ void DwarfDebug::ConstructTypeDIE(CompileUnit *DW_Unit, DIE &Buffer,
|
||||||
if (Element.getTag() == dwarf::DW_TAG_subprogram)
|
if (Element.getTag() == dwarf::DW_TAG_subprogram)
|
||||||
ElemDie = CreateSubprogramDIE(DW_Unit,
|
ElemDie = CreateSubprogramDIE(DW_Unit,
|
||||||
DISubprogram(Element.getGV()));
|
DISubprogram(Element.getGV()));
|
||||||
else if (Element.getTag() == dwarf::DW_TAG_variable) // ??
|
|
||||||
ElemDie = CreateGlobalVariableDIE(DW_Unit,
|
|
||||||
DIGlobalVariable(Element.getGV()));
|
|
||||||
else
|
else
|
||||||
ElemDie = CreateMemberDIE(DW_Unit,
|
ElemDie = CreateMemberDIE(DW_Unit,
|
||||||
DIDerivedType(Element.getGV()));
|
DIDerivedType(Element.getGV()));
|
||||||
|
|
Loading…
Reference in New Issue