summaryrefslogtreecommitdiff
path: root/lib/DebugInfo/DWARFContext.cpp
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
commitc87f9488b851335fc92b48e9a15ee98df29b0def (patch)
tree8f9e4640de972fee884bbacce3f5831bb1989da9 /lib/DebugInfo/DWARFContext.cpp
parentdbf76421109b5a60f988f30f47f035bda6147c46 (diff)
downloadllvm-c87f9488b851335fc92b48e9a15ee98df29b0def.tar.gz
llvm-c87f9488b851335fc92b48e9a15ee98df29b0def.tar.bz2
llvm-c87f9488b851335fc92b48e9a15ee98df29b0def.tar.xz
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
Diffstat (limited to 'lib/DebugInfo/DWARFContext.cpp')
-rw-r--r--lib/DebugInfo/DWARFContext.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/DebugInfo/DWARFContext.cpp b/lib/DebugInfo/DWARFContext.cpp
index cbc1d5a41e..db0d21f411 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";
}
}