diff options
-rw-r--r-- | lib/DebugInfo/DWARFContext.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/DebugInfo/DWARFContext.cpp b/lib/DebugInfo/DWARFContext.cpp index cbc1d5a..db0d21f 100644 --- a/lib/DebugInfo/DWARFContext.cpp +++ b/lib/DebugInfo/DWARFContext.cpp @@ -135,9 +135,8 @@ void DWARFContext::dump(raw_ostream &OS, DIDumpType DumpType) { break; PubIndexEntryDescriptor desc(pubNames.getU8(&offset)); OS << format("0x%8.8x ", dieRef) - << format("%-8s", dwarf::GDBIndexEntryLinkageString(desc.Linkage) - .str().c_str()) << ' ' - << dwarf::GDBIndexEntryKindString(desc.Kind) << " \"" + << format("%-8s", dwarf::GDBIndexEntryLinkageString(desc.Linkage)) + << ' ' << dwarf::GDBIndexEntryKindString(desc.Kind) << " \"" << pubNames.getCStr(&offset) << "\"\n"; } } |