summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-09-20 01:24:10 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-09-20 01:24:10 +0000
commit3e9a6d345a70b857291038c9252f79dc08c540d5 (patch)
tree60907ca0b242b6cc935a6e5a588d6e1f4b0c5a30 /llvm/lib/DebugInfo
parent541b38be7bf3afded3269a33586418254d82d7b3 (diff)
downloadbcm5719-llvm-3e9a6d345a70b857291038c9252f79dc08c540d5.tar.gz
bcm5719-llvm-3e9a6d345a70b857291038c9252f79dc08c540d5.zip
Revert r191062; the build break was also fixed in a different (incompatible) way in r191060.
llvm-svn: 191065
Diffstat (limited to 'llvm/lib/DebugInfo')
-rw-r--r--llvm/lib/DebugInfo/DWARFContext.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/DebugInfo/DWARFContext.cpp b/llvm/lib/DebugInfo/DWARFContext.cpp
index cbc1d5a41e5..db0d21f4112 100644
--- a/llvm/lib/DebugInfo/DWARFContext.cpp
+++ b/llvm/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";
}
}
OpenPOWER on IntegriCloud