diff options
author | Devang Patel <dpatel@apple.com> | 2009-06-29 23:46:50 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-06-29 23:46:50 +0000 |
commit | 20683bf7d820c16f1d1b7b384a8fcd8cb5ca7884 (patch) | |
tree | 1b5f834be8b23ff5b063fc6af237e4ca2fd7ddc1 /lib/CodeGen | |
parent | 63ed6295262344301390aff5733ad69aa5112178 (diff) | |
download | external_llvm-20683bf7d820c16f1d1b7b384a8fcd8cb5ca7884.zip external_llvm-20683bf7d820c16f1d1b7b384a8fcd8cb5ca7884.tar.gz external_llvm-20683bf7d820c16f1d1b7b384a8fcd8cb5ca7884.tar.bz2 |
Struct types are described using field types only.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74477 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 57df42f..547140f 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -678,9 +678,6 @@ void DwarfDebug::ConstructTypeDIE(CompileUnit *DW_Unit, DIE &Buffer, if (Element.getTag() == dwarf::DW_TAG_subprogram) ElemDie = CreateSubprogramDIE(DW_Unit, DISubprogram(Element.getGV())); - else if (Element.getTag() == dwarf::DW_TAG_variable) // ?? - ElemDie = CreateGlobalVariableDIE(DW_Unit, - DIGlobalVariable(Element.getGV())); else ElemDie = CreateMemberDIE(DW_Unit, DIDerivedType(Element.getGV())); |