From: David Blaikie Date: Tue, 24 Sep 2013 19:56:27 +0000 (+0000) Subject: llvm-dwarfdump: re-add field formatting for the entry kind lost in r191329 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d374c7b3bf49a62a722b52367f122ca7fd53ab08;p=oota-llvm.git llvm-dwarfdump: re-add field formatting for the entry kind lost in r191329 CR feedback from Eric Christopher git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191330 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/DebugInfo/DWARFContext.cpp b/lib/DebugInfo/DWARFContext.cpp index e629390c5aa..76eec3da5f0 100644 --- a/lib/DebugInfo/DWARFContext.cpp +++ b/lib/DebugInfo/DWARFContext.cpp @@ -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"; } }