summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-06-29 23:46:50 +0000
committerDevang Patel <dpatel@apple.com>2009-06-29 23:46:50 +0000
commit0a9f9759a3f891b2f80a8bd9450853a4bc5fe12f (patch)
tree47f74bbcf9fec28f8fd0bb444938de222fc0e80d /llvm/lib/CodeGen
parentae7ac010594f693fdf7b3ab879e196428d961e75 (diff)
downloadbcm5719-llvm-0a9f9759a3f891b2f80a8bd9450853a4bc5fe12f.tar.gz
bcm5719-llvm-0a9f9759a3f891b2f80a8bd9450853a4bc5fe12f.zip
Struct types are described using field types only.
llvm-svn: 74477
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 57df42f8576..547140fa521 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/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()));
OpenPOWER on IntegriCloud