1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/tools/llvm-objdump/ARM
Kevin Enderby 5bbb04ae53 Fix a bugs with using some Mach-O command line flags like "-arch armv7m".
The Mach-O command line flag like "-arch armv7m" does not match the
arch name part of its llvm Triple which is "thumbv7m-apple-darwin”.

I think the best way to fix this is to have
llvm::object::MachOObjectFile::getArchTriple() optionally return the
name of the Mach-O arch flag that would be used with -arch that
matches the CPUType and CPUSubType.  Then change
llvm::object::MachOUniversalBinary::ObjectForArch::getArchTypeName()
to use that and change it to getArchFlagName() as the type name is
really part of the Triple and the -arch flag name is a Mach-O thing
for a specific Triple with a specific Mcpu value.

rdar://29663637

llvm-svn: 290001
2016-12-16 22:54:02 +00:00
..
Inputs Fix a bugs with using some Mach-O command line flags like "-arch armv7m". 2016-12-16 22:54:02 +00:00
disassemble-code-data-mix.s llvm-objdump: ELF: Handle code and data mix in all scenarios 2016-08-25 19:41:08 +00:00
lit.local.cfg
macho-arch-armv7m-flag.test Fix a bugs with using some Mach-O command line flags like "-arch armv7m". 2016-12-16 22:54:02 +00:00
macho-arm-and-thumb.test llvm-objdump: deal with invalid ARM encodings slightly better. 2016-04-22 23:23:31 +00:00
macho-data-in-code.test
macho-mattr-arm.test
macho-mcpu-arm.test
macho-private-headers.test For llvm-objdump for Mach-O files add printing of 2016-10-21 18:22:35 +00:00
macho-symbolized-disassembly.test Update llvm-objdump for disassembly of ARM Mach-O files to always include the opcode bytes. 2016-04-28 20:14:13 +00:00
macho-symbolized-subtractor.test
macho-v7m.test llvm-objdump: deal with invalid ARM encodings slightly better. 2016-04-22 23:23:31 +00:00
mh_dylib_header.test llvm-objdump: extend __mh_execute_header handling to other special syms 2016-07-14 23:13:03 +00:00