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:
Kevin Enderby
2014-08-22 20:35:18 +00:00
parent bf9d5dfc3d
commit d9757b42ad
5 changed files with 302 additions and 0 deletions

View File

@ -38,6 +38,7 @@ void printMachOUnwindInfo(const object::MachOObjectFile* o);
void printELFFileHeader(const object::ObjectFile *o);
void printCOFFFileHeader(const object::ObjectFile *o);
void printMachOFileHeader(const object::ObjectFile *o);
} // end namespace llvm