[llvm] r191401 - Slight formatting change for pubnames/pubtypes output.
Eric Christopher
echristo at gmail.com
Wed Sep 25 14:17:38 PDT 2013
Author: echristo
Date: Wed Sep 25 16:17:37 2013
New Revision: 191401
URL: http://llvm.org/viewvc/llvm-project?rev=191401&view=rev
Log:
Slight formatting change for pubnames/pubtypes output.
Modified:
llvm/trunk/lib/DebugInfo/DWARFContext.cpp
Modified: llvm/trunk/lib/DebugInfo/DWARFContext.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARFContext.cpp?rev=191401&r1=191400&r2=191401&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARFContext.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARFContext.cpp Wed Sep 25 16:17:37 2013
@@ -37,7 +37,7 @@ static void dumpPubSection(raw_ostream &
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 &
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";
}
}
More information about the llvm-commits
mailing list