summaryrefslogtreecommitdiffstats
path: root/llvm/tools/macho-dump/macho-dump.cpp
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
commit2c6cefc9c3a5056cac65e073e06cc49c35d88704 (patch)
treece26db934e7e389333b3aef949e2baab3467373a /llvm/tools/macho-dump/macho-dump.cpp
parent5ec2ead9b0d43e0beb91bd994fbac40ec48d5549 (diff)
downloadbcm5719-llvm-2c6cefc9c3a5056cac65e073e06cc49c35d88704.tar.gz
bcm5719-llvm-2c6cefc9c3a5056cac65e073e06cc49c35d88704.zip
silence an unused function warning.
llvm-svn: 128831
Diffstat (limited to 'llvm/tools/macho-dump/macho-dump.cpp')
-rw-r--r--llvm/tools/macho-dump/macho-dump.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/tools/macho-dump/macho-dump.cpp b/llvm/tools/macho-dump/macho-dump.cpp
index a69368b3d7a..c040df21c6e 100644
--- a/llvm/tools/macho-dump/macho-dump.cpp
+++ b/llvm/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,
OpenPOWER on IntegriCloud