Revert r89487.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89686 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2009-11-23 18:43:37 +00:00
parent 7ebd32a1b8
commit 05f6fa874e

View File

@@ -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);
}