aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-11-23 18:43:37 +0000
committerDevang Patel <dpatel@apple.com>2009-11-23 18:43:37 +0000
commit05f6fa874e8d187483a836ccb4906bb3807bb305 (patch)
tree29238381de78ad707ae4d861cf3536e9bd8aa0e3 /lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parent7ebd32a1b87553d98215ae159489c1407e50e34c (diff)
Revert r89487.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89686 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 1241c5ffeb..4567583628 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -812,7 +812,7 @@ void DwarfDebug::constructTypeDIE(CompileUnit *DW_Unit, DIE &Buffer,
addUInt(&Buffer, dwarf::DW_AT_byte_size, 0, Size);
// Add source line info if available and TyDesc is not a forward declaration.
- if (!DTy.isForwardDecl() && Tag != dwarf::DW_TAG_pointer_type)
+ if (!DTy.isForwardDecl())
addSourceLine(&Buffer, &DTy);
}