Add the -mcpu= option to llvm-objdump for use with the disassemblers.
authorKevin Enderby <enderby@apple.com>
Wed, 6 Aug 2014 23:24:41 +0000 (23:24 +0000)
committerKevin Enderby <enderby@apple.com>
Wed, 6 Aug 2014 23:24:41 +0000 (23:24 +0000)
commit75d423feed899baff90adab26b77195fb19128cc
tree6531a9eafebbae95d5446fbb75c6e35171e75e73
parent41d6599bb17cab630584e472f9578b237763ace4
Add the -mcpu= option to llvm-objdump for use with the disassemblers.
Also make the disassembler created with the Mach-O parser (the -m option)
pick up the Target specific attributes specified with -mattr option.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215032 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objdump/macho-mattr-arm.test [new file with mode: 0644]
test/tools/llvm-objdump/macho-mcpu-arm.test [new file with mode: 0644]
tools/llvm-objdump/MachODump.cpp
tools/llvm-objdump/llvm-objdump.cpp
tools/llvm-objdump/llvm-objdump.h