summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2016-07-28 00:28:48 +0000
committerLang Hames <lhames@gmail.com>2016-07-28 00:28:48 +0000
commit242fde1b36fe3d431a157b3a559af13a29f97d00 (patch)
treeb4c682feb2ff65e5daa72277d734e6422f7da753 /lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
parent315bb33f2754c5e0540754762d42f9ecdd6e6808 (diff)
downloadbcm5719-llvm-242fde1b36fe3d431a157b3a559af13a29f97d00.tar.gz
bcm5719-llvm-242fde1b36fe3d431a157b3a559af13a29f97d00.zip
[lld][MachO] Remove some debugging output code that was mistakenly left in in
r276935. llvm-svn: 276944
Diffstat (limited to 'lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp')
-rw-r--r--lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp b/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
index a1d43d30b74..beead3b398a 100644
--- a/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
+++ b/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
@@ -1433,7 +1433,6 @@ normalizedObjectToAtoms(MachOFile *file,
// Create atoms from each section.
for (auto &sect : normalizedFile.sections) {
- DEBUG(llvm::dbgs() << "Creating atoms: "; sect.dump());
// If this is a debug-info section parse it specially.
if (isDebugInfoSection(sect))
@@ -1627,21 +1626,6 @@ normalizedToAtoms(const NormalizedFile &normalizedFile, StringRef path,
}
}
-#ifndef NDEBUG
-void Relocation::dump(llvm::raw_ostream &OS) const {
- OS << "Relocation (offset=" << llvm::format_hex(offset, 8, true)
- << ", scatered=" << scattered << ", type=" << type << ", length=" << length
- << ", pcrel=" << pcRel << ", isExtern=" << isExtern << ", value="
- << llvm::format_hex(value, 8, true) << ", symbol=" << symbol << ")\n";
-}
-
-void Section::dump(llvm::raw_ostream &OS) const {
- OS << "Section (\"" << segmentName << ", " << sectionName << "\"";
- OS << ", addr: " << llvm::format_hex(address, 16, true);
- OS << ", size: " << llvm::format_hex(content.size(), 8, true) << ")\n";
-}
-#endif
-
} // namespace normalized
} // namespace mach_o
} // namespace lld
OpenPOWER on IntegriCloud