summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/macho-dump/macho-dump.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/macho-dump/macho-dump.cpp b/tools/macho-dump/macho-dump.cpp
index a69368b3d7..c040df21c6 100644
--- a/tools/macho-dump/macho-dump.cpp
+++ b/tools/macho-dump/macho-dump.cpp
@@ -49,6 +49,7 @@ static void Warning(const Twine &Msg) {
///
+#if 0
static int DumpHeader(MachOObject &Obj) {
// Read the header.
const macho::Header &Hdr = Obj.getHeader();
@@ -67,6 +68,7 @@ static int DumpHeader(MachOObject &Obj) {
return 0;
}
+#endif
static void DumpSegmentCommandData(StringRef Name,
uint64_t VMAddr, uint64_t VMSize,