OSDN Git Service

[DWARF] - Fix mistype in dump output of pub* tables. NFC.
authorGeorge Rimar <grimar@accesssoftek.com>
Fri, 28 Apr 2017 08:54:10 +0000 (08:54 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Fri, 28 Apr 2017 08:54:10 +0000 (08:54 +0000)
There was a garbage character in output introduced by myself in
r290040 "[DWARF] - Introduce DWARFDebugPubTable class for dumping pub* sections."

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301631 91177308-0d34-0410-b5e6-96231b3b80d8

lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp

index 662e53d..daded25 100644 (file)
@@ -45,7 +45,7 @@ DWARFDebugPubTable::DWARFDebugPubTable(StringRef Data, bool LittleEndian,
 }
 
 void DWARFDebugPubTable::dump(StringRef Name, raw_ostream &OS) const {
-  OS << "\n." << Name << " contents: a\n";
+  OS << "\n." << Name << " contents:\n";
   for (const Set &S : Sets) {
     OS << "length = " << format("0x%08x", S.Length);
     OS << " version = " << format("0x%04x", S.Version);