Add to llvm-objdump the -no-leading-headers option with the use of the -macho option.
authorKevin Enderby <enderby@apple.com>
Tue, 29 Nov 2016 21:43:40 +0000 (21:43 +0000)
committerKevin Enderby <enderby@apple.com>
Tue, 29 Nov 2016 21:43:40 +0000 (21:43 +0000)
commitf9d60f00e516358a33dc1b0e65a7ce6dd94cc188
tree6a87d193d753ffe689b7f9484ca03818c6c555d7
parent9303efb0afb6c2d904d4d9d5277ad58c14b067f7
Add to llvm-objdump the -no-leading-headers option with the use of the -macho option.

In some cases the leading headers of the file name, archive member and
architecture slice name in the output of lvm-objdump is not wanted so the
tool’s output can be directly used by scripts.  This matches the -X option
of the Apple otool(1) program.

rdar://28491674

llvm-svn: 288199
llvm/test/tools/llvm-objdump/X86/macho-dylib.test
llvm/tools/llvm-objdump/MachODump.cpp