浏览代码

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
Richard Smith 12 年之前
父节点
当前提交
c87f9488b8
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      lib/DebugInfo/DWARFContext.cpp

+ 2 - 3
lib/DebugInfo/DWARFContext.cpp

@@ -135,9 +135,8 @@ void DWARFContext::dump(raw_ostream &OS, DIDumpType DumpType) {
         break;
         break;
       PubIndexEntryDescriptor desc(pubNames.getU8(&offset));
       PubIndexEntryDescriptor desc(pubNames.getU8(&offset));
       OS << format("0x%8.8x ", dieRef)
       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";
          << pubNames.getCStr(&offset) << "\"\n";
     }
     }
   }
   }