diff options
author | Adrian Prantl <aprantl@apple.com> | 2017-09-15 17:39:50 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2017-09-15 17:39:50 +0000 |
commit | 8416802ea42c57d1d9a7858f32d410e05f98c9f5 (patch) | |
tree | 288c7f184b4395d06d291dfbc4645f27d051f464 /llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp | |
parent | 9d0052160f899a817a03dce0d079bbc50a8ff617 (diff) | |
download | bcm5719-llvm-8416802ea42c57d1d9a7858f32d410e05f98c9f5.tar.gz bcm5719-llvm-8416802ea42c57d1d9a7858f32d410e05f98c9f5.zip |
llvm-dwarfdump: Factor out the printing of the section header (NFC)
llvm-svn: 313370
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp index 5a4e39f3c2a..956a91e9c4d 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp @@ -44,8 +44,7 @@ DWARFDebugPubTable::DWARFDebugPubTable(StringRef Data, bool LittleEndian, } } -void DWARFDebugPubTable::dump(StringRef Name, raw_ostream &OS) const { - OS << "\n." << Name << " contents:\n"; +void DWARFDebugPubTable::dump(raw_ostream &OS) const { for (const Set &S : Sets) { OS << "length = " << format("0x%08x", S.Length); OS << " version = " << format("0x%04x", S.Version); |