Add the option -objc-meta-data to llvm-objdump used with -macho to
authorKevin Enderby <enderby@apple.com>
Wed, 1 Apr 2015 20:57:01 +0000 (20:57 +0000)
committerKevin Enderby <enderby@apple.com>
Wed, 1 Apr 2015 20:57:01 +0000 (20:57 +0000)
commit95d8155b37cb7f005f9c6228e5d51022abc884f8
treea1af60bee572545569d521895ad6b10b0f80054e
parenta066ed09db3772da6cffd26c14e5042ec9225eea
Add the option -objc-meta-data to llvm-objdump used with -macho to
print the Objective-C runtime meta data for Mach-O files.

There are three types of Objective-C runtime meta data, Objc2 64-bit,
Objc2 32-bit and Objc1 32-bit.  This prints the first of these types. The
changes to print the others will follow next.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233840 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objdump/X86/Inputs/Objc2.64bit.exe.macho-x86_64 [new file with mode: 0755]
test/tools/llvm-objdump/X86/Inputs/Objc2.64bit.obj.macho-x86_64 [new file with mode: 0644]
test/tools/llvm-objdump/X86/macho-objc-meta-data.test [new file with mode: 0644]
tools/llvm-objdump/MachODump.cpp
tools/llvm-objdump/llvm-objdump.cpp
tools/llvm-objdump/llvm-objdump.h