Add printing the LC_LINKER_OPTION load command with llvm-objdump’s -private-headers.
authorKevin Enderby <enderby@apple.com>
Thu, 18 Dec 2014 00:53:40 +0000 (00:53 +0000)
committerKevin Enderby <enderby@apple.com>
Thu, 18 Dec 2014 00:53:40 +0000 (00:53 +0000)
commit1025e9e9d63e4b0ba635ea3d12c46c8d574438c8
tree59f71dc9f49fee6eabafa3e2de927d5e6cbf117d
parenta582f1f3967dcfca0adcb976af3b867e75c54e99
Add printing the LC_LINKER_OPTION load command with llvm-objdump’s -private-headers.
Also corrected the name of the load command to not end in an ’S’ as well as corrected
the name of the MachO::linker_option_command struct and other places that had the
word option as plural which did not match the Mac OS X headers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224485 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/MachO.h
include/llvm/Support/MachO.h
lib/MC/MachObjectWriter.cpp
lib/Object/MachOObjectFile.cpp
test/tools/llvm-objdump/X86/Inputs/linkerOption.macho-x86_64 [new file with mode: 0644]
test/tools/llvm-objdump/X86/macho-private-headers.test
tools/llvm-objdump/MachODump.cpp
tools/macho-dump/macho-dump.cpp