diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-03-09 01:12:23 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-03-09 01:12:23 +0000 |
commit | 45aefff64c64d5bd7804f39d994883b98ce4415a (patch) | |
tree | 7a0f9d75ea6ea4a0aa08a3b7190ee8c6c1748cb1 | |
parent | f8b8ad77a8b5632886a4cfe41d798bae7277efcb (diff) | |
download | external_llvm-45aefff64c64d5bd7804f39d994883b98ce4415a.zip external_llvm-45aefff64c64d5bd7804f39d994883b98ce4415a.tar.gz external_llvm-45aefff64c64d5bd7804f39d994883b98ce4415a.tar.bz2 |
MC/Mach-O: Tweak .dump() formatting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98028 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/MC/MCAssembler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/MC/MCAssembler.cpp b/lib/MC/MCAssembler.cpp index e2d7de9..928c037 100644 --- a/lib/MC/MCAssembler.cpp +++ b/lib/MC/MCAssembler.cpp @@ -1351,7 +1351,7 @@ void MCDataFragment::dump() { OS << ",\n "; OS << " Fixups:["; for (fixup_iterator it = fixup_begin(), ie = fixup_end(); it != ie; ++it) { - if (it != fixup_begin()) OS << ",\n "; + if (it != fixup_begin()) OS << ",\n "; OS << *it; } OS << "]"; @@ -1394,7 +1394,7 @@ void MCSectionData::dump() { OS << "<MCSectionData"; OS << " Alignment:" << getAlignment() << " Address:" << Address << " Size:" << Size << " FileSize:" << FileSize - << " Fragments:["; + << " Fragments:[\n "; for (iterator it = begin(), ie = end(); it != ie; ++it) { if (it != begin()) OS << ",\n "; it->dump(); @@ -1422,7 +1422,7 @@ void MCAssembler::dump() { raw_ostream &OS = llvm::errs(); OS << "<MCAssembler\n"; - OS << " Sections:["; + OS << " Sections:[\n "; for (iterator it = begin(), ie = end(); it != ie; ++it) { if (it != begin()) OS << ",\n "; it->dump(); @@ -1431,7 +1431,7 @@ void MCAssembler::dump() { OS << " Symbols:["; for (symbol_iterator it = symbol_begin(), ie = symbol_end(); it != ie; ++it) { - if (it != symbol_begin()) OS << ",\n "; + if (it != symbol_begin()) OS << ",\n "; it->dump(); } OS << "]>\n"; |