summaryrefslogtreecommitdiff
path: root/tools/macho-dump
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-04-04 17:17:57 +0000
committerChris Lattner <sabre@nondot.org>2011-04-04 17:17:57 +0000
commit74a26fe099e27c60493b7493e47b1ad53ac333cd (patch)
treebc670d0722d02634a6dc151037ef28011ffe03c3 /tools/macho-dump
parentf49fde28772cf73502d31e2755b7c75c0e90a05c (diff)
silence an unused function warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128831 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/macho-dump')
-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 a69368b3d7a..c040df21c6e 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,