summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-09-25 21:17:37 +0000
committerEric Christopher <echristo@gmail.com>2013-09-25 21:17:37 +0000
commita88fd7fdb626dc86b0b0cb48537edf4878361578 (patch)
treece16d12298b3d5d3d85d2e9bffd1027915905cce /llvm/lib/DebugInfo
parenta6ce797f05f2b7c19fc3f58c5d09a554671e6e86 (diff)
downloadbcm5719-llvm-a88fd7fdb626dc86b0b0cb48537edf4878361578.tar.gz
bcm5719-llvm-a88fd7fdb626dc86b0b0cb48537edf4878361578.zip
Slight formatting change for pubnames/pubtypes output.
llvm-svn: 191401
Diffstat (limited to 'llvm/lib/DebugInfo')
-rw-r--r--llvm/lib/DebugInfo/DWARFContext.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/DebugInfo/DWARFContext.cpp b/llvm/lib/DebugInfo/DWARFContext.cpp
index 7a7e176bcd9..2477f3ed4cc 100644
--- a/llvm/lib/DebugInfo/DWARFContext.cpp
+++ b/llvm/lib/DebugInfo/DWARFContext.cpp
@@ -37,7 +37,7 @@ static void dumpPubSection(raw_ostream &OS, StringRef Name, StringRef Data,
OS << "Version: " << pubNames.getU16(&offset) << "\n";
OS << "Offset in .debug_info: " << pubNames.getU32(&offset) << "\n";
OS << "Size: " << pubNames.getU32(&offset) << "\n";
- OS << "Offset Linkage Kind Name\n";
+ OS << "Offset Linkage Kind Name\n";
while (offset < Data.size()) {
uint32_t dieRef = pubNames.getU32(&offset);
if (dieRef == 0)
@@ -45,8 +45,8 @@ 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)) << ' '
- << format("%-8s", dwarf::GDBIndexEntryKindString(desc.Kind)) << '\"'
- << pubNames.getCStr(&offset) << "\"\n";
+ << format("%-8s", dwarf::GDBIndexEntryKindString(desc.Kind)) << ' '
+ << '\"' << pubNames.getCStr(&offset) << "\"\n";
}
}
OpenPOWER on IntegriCloud