[llvm] r191065 - Revert r191062; the build break was also fixed in a different (incompatible) way in r191060.

Richard Smith richard-llvm at metafoo.co.uk
Thu Sep 19 18:24:10 PDT 2013


Author: rsmith
Date: Thu Sep 19 20:24:10 2013
New Revision: 191065

URL: http://llvm.org/viewvc/llvm-project?rev=191065&view=rev
Log:
Revert r191062; the build break was also fixed in a different (incompatible) way in r191060.

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=191065&r1=191064&r2=191065&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARFContext.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARFContext.cpp Thu Sep 19 20:24:10 2013
@@ -135,9 +135,8 @@ void DWARFContext::dump(raw_ostream &OS,
         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";
     }
   }





More information about the llvm-commits mailing list