mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-28 07:17:32 +00:00
For llvm-objdump, hook up existing options to work when using -macho (the Mach-O parser).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226612 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -318,20 +318,16 @@ static void ProcessMachO(StringRef Filename, MachOObjectFile *MachOOF,
|
||||
|
||||
if (Disassemble)
|
||||
DisassembleMachO(Filename, MachOOF);
|
||||
// TODO: These should/could be printed in Darwin's otool(1) or nm(1) style
|
||||
// for -macho. Or just used a new option that maps to the otool(1)
|
||||
// option like -r, -l, etc. Or just the normal llvm-objdump option
|
||||
// but now for this slice so that the -arch options can be used.
|
||||
// if (Relocations)
|
||||
// PrintRelocations(MachOOF);
|
||||
// if (SectionHeaders)
|
||||
// PrintSectionHeaders(MachOOF);
|
||||
// if (SectionContents)
|
||||
// PrintSectionContents(MachOOF);
|
||||
// if (SymbolTable)
|
||||
// PrintSymbolTable(MachOOF);
|
||||
// if (UnwindInfo)
|
||||
// PrintUnwindInfo(MachOOF);
|
||||
if (Relocations)
|
||||
PrintRelocations(MachOOF);
|
||||
if (SectionHeaders)
|
||||
PrintSectionHeaders(MachOOF);
|
||||
if (SectionContents)
|
||||
PrintSectionContents(MachOOF);
|
||||
if (SymbolTable)
|
||||
PrintSymbolTable(MachOOF);
|
||||
if (UnwindInfo)
|
||||
printMachOUnwindInfo(MachOOF);
|
||||
if (PrivateHeaders)
|
||||
printMachOFileHeader(MachOOF);
|
||||
if (ExportsTrie)
|
||||
|
Reference in New Issue
Block a user