From: Richard Smith Date: Fri, 20 Sep 2013 01:24:10 +0000 (+0000) Subject: Revert r191062; the build break was also fixed in a different (incompatible) way... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c87f9488b851335fc92b48e9a15ee98df29b0def;p=oota-llvm.git Revert r191062; the build break was also fixed in a different (incompatible) way in r191060. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191065 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/DebugInfo/DWARFContext.cpp b/lib/DebugInfo/DWARFContext.cpp index cbc1d5a41e5..db0d21f4112 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"; } }