OSDN Git Service

llvm-dwarfdump: re-add field formatting for the entry kind lost in r191329
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 24 Sep 2013 19:56:27 +0000 (19:56 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 24 Sep 2013 19:56:27 +0000 (19:56 +0000)
CR feedback from Eric Christopher

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191330 91177308-0d34-0410-b5e6-96231b3b80d8

lib/DebugInfo/DWARFContext.cpp

index e629390..76eec3d 100644 (file)
@@ -45,7 +45,7 @@ static void dumpPubSection(raw_ostream &OS, StringRef Name, StringRef Data,
     PubIndexEntryDescriptor desc(pubNames.getU8(&offset));
     OS << format("0x%8.8x ", dieRef)
        << format("%-8s", dwarf::GDBIndexEntryLinkageString(desc.Linkage)) << ' '
-       << dwarf::GDBIndexEntryKindString(desc.Kind) << " \""
+       << format("%-8s", dwarf::GDBIndexEntryKindString(desc.Kind))
        << pubNames.getCStr(&offset) << "\"\n";
   }
 }