mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-27 02:31:09 +00:00
Remove unused function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128834 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ac79e4c82f
commit
138b77c38a
@ -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,
|
static void DumpSegmentCommandData(StringRef Name,
|
||||||
uint64_t VMAddr, uint64_t VMSize,
|
uint64_t VMAddr, uint64_t VMSize,
|
||||||
uint64_t FileOffset, uint64_t FileSize,
|
uint64_t FileOffset, uint64_t FileSize,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user