aboutsummaryrefslogtreecommitdiffstats
path: root/lib/DebugInfo
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-09-24 19:56:27 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-09-24 19:56:27 +0000
commitd374c7b3bf49a62a722b52367f122ca7fd53ab08 (patch)
treedca088dd6eb29794ffe03e733ec594ef15df914c /lib/DebugInfo
parent9ddf28d501144276fb47ce2e5f48f2497d9898d5 (diff)
downloadexternal_llvm-d374c7b3bf49a62a722b52367f122ca7fd53ab08.zip
external_llvm-d374c7b3bf49a62a722b52367f122ca7fd53ab08.tar.gz
external_llvm-d374c7b3bf49a62a722b52367f122ca7fd53ab08.tar.bz2
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
Diffstat (limited to 'lib/DebugInfo')
-rw-r--r--lib/DebugInfo/DWARFContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DebugInfo/DWARFContext.cpp b/lib/DebugInfo/DWARFContext.cpp
index e629390..76eec3d 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";
}
}