Re-add support to llvm-objdump for Mach-O universal files and archives with -macho
authorKevin Enderby <enderby@apple.com>
Thu, 4 Dec 2014 23:56:27 +0000 (23:56 +0000)
committerKevin Enderby <enderby@apple.com>
Thu, 4 Dec 2014 23:56:27 +0000 (23:56 +0000)
commit543abe49061aed66bcf7a2ce75c357363c71224d
tree971b2ec3b87dc988c4ad1428a5a83a782ce088a4
parent3d5af84aa6015d6dc1bad9877a542501bbb82d75
Re-add support to llvm-objdump for Mach-O universal files and archives with -macho
with fixes.  Includes the move of tests for llvm-objdump for universal files to an X86
directory.  And the fix where it was failing on linux Rafael tracked down with asan.
I had both Jim Grosbach and Adam Hemet look over the second fix since I could not
set up asan to reproduce with the old version but not with the fix.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223416 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/Thumb/iabs.ll
test/tools/llvm-objdump/X86/Inputs/macho-universal-archive.x86_64.i386 [new file with mode: 0644]
test/tools/llvm-objdump/X86/Inputs/macho-universal.x86_64.i386 [new file with mode: 0755]
test/tools/llvm-objdump/X86/macho-universal-x86_64.i386.test [new file with mode: 0644]
tools/llvm-objdump/MachODump.cpp
tools/llvm-objdump/llvm-objdump.cpp