Slightly refactor things for llvm-objdump and the -macho option so it can be used...
authorKevin Enderby <enderby@apple.com>
Wed, 7 Jan 2015 21:02:18 +0000 (21:02 +0000)
committerKevin Enderby <enderby@apple.com>
Wed, 7 Jan 2015 21:02:18 +0000 (21:02 +0000)
commit60e9ca4c0fd19a5238971488ce5ad2040cce6573
treedfd4aa68e0367c917dbb6d40894f6a24bcfa3e4a
parente729f0f935ae1f613b9c9cd7aec36e9848b6a385
Slightly refactor things for llvm-objdump and the -macho option so it can be used with
options other than just -disassemble so that universal files can be used with other
options combined with -arch options.

No functional change to existing options and use.  One test case added for the
additional functionality with a universal file an a -arch option.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225383 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objdump/X86/macho-private-headers.test
tools/llvm-objdump/MachODump.cpp
tools/llvm-objdump/llvm-objdump.cpp
tools/llvm-objdump/llvm-objdump.h