mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +00:00
Add the start of the support for llvm-objdump’s -private-headers for Mach-O files.
This adds the printing of the mach header. Load command printing will be next. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216285 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -834,6 +834,8 @@ static void printPrivateFileHeader(const ObjectFile *o) {
|
||||
printELFFileHeader(o);
|
||||
} else if (o->isCOFF()) {
|
||||
printCOFFFileHeader(o);
|
||||
} else if (o->isMachO()) {
|
||||
printMachOFileHeader(o);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user