diff options
author | Eric Christopher <echristo@gmail.com> | 2013-09-25 21:17:37 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-09-25 21:17:37 +0000 |
commit | f8809477befa3df882540a870b05a85a82d5b86c (patch) | |
tree | f59af4eab3715fce15579befd220d78a4462bf04 /lib/DebugInfo | |
parent | 55d016886cc695aa14dfa3cc8b9e1d602cca149c (diff) | |
download | external_llvm-f8809477befa3df882540a870b05a85a82d5b86c.zip external_llvm-f8809477befa3df882540a870b05a85a82d5b86c.tar.gz external_llvm-f8809477befa3df882540a870b05a85a82d5b86c.tar.bz2 |
Slight formatting change for pubnames/pubtypes output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191401 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo')
-rw-r--r-- | lib/DebugInfo/DWARFContext.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/DebugInfo/DWARFContext.cpp b/lib/DebugInfo/DWARFContext.cpp index 7a7e176..2477f3e 100644 --- a/lib/DebugInfo/DWARFContext.cpp +++ b/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"; } } |