OSDN Git Service

Revert r89487.
authorDevang Patel <dpatel@apple.com>
Mon, 23 Nov 2009 18:43:37 +0000 (18:43 +0000)
committerDevang Patel <dpatel@apple.com>
Mon, 23 Nov 2009 18:43:37 +0000 (18:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89686 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp

index 1241c5f..4567583 100644 (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);
 }