Remove unused function.

llvm-svn: 128834
This commit is contained in:
Eric Christopher 2011-04-04 17:36:11 +00:00
parent 99a337eed0
commit 66c1c59bdb
1 changed files with 0 additions and 21 deletions

View File

@ -49,27 +49,6 @@ static void Warning(const Twine &Msg) {
///
#if 0
static int DumpHeader(MachOObject &Obj) {
// Read the header.
const macho::Header &Hdr = Obj.getHeader();
outs() << "('cputype', " << Hdr.CPUType << ")\n";
outs() << "('cpusubtype', " << Hdr.CPUSubtype << ")\n";
outs() << "('filetype', " << Hdr.FileType << ")\n";
outs() << "('num_load_commands', " << Hdr.NumLoadCommands << ")\n";
outs() << "('load_commands_size', " << Hdr.SizeOfLoadCommands << ")\n";
outs() << "('flag', " << Hdr.Flags << ")\n";
// Print extended header if 64-bit.
if (Obj.is64Bit()) {
const macho::Header64Ext &Hdr64 = Obj.getHeader64Ext();
outs() << "('reserved', " << Hdr64.Reserved << ")\n";
}
return 0;
}
#endif
static void DumpSegmentCommandData(StringRef Name,
uint64_t VMAddr, uint64_t VMSize,
uint64_t FileOffset, uint64_t FileSize,