projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f49fde2
)
silence an unused function warning.
author
Chris Lattner
<sabre@nondot.org>
Mon, 4 Apr 2011 17:17:57 +0000
(17:17 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 4 Apr 2011 17:17:57 +0000
(17:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128831
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/macho-dump/macho-dump.cpp
patch
|
blob
|
history
diff --git
a/tools/macho-dump/macho-dump.cpp
b/tools/macho-dump/macho-dump.cpp
index a69368b3d7a8ee42d0b5e1751acc2ed7ecaa2a0f..c040df21c6e3c01d7dd6122cc45b9a8ea8e246d4 100644
(file)
--- 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,