llvm-project/llvm/test/tools/llvm-objdump
Kevin Enderby 59343a9429 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
..
AArch64 Add support for the ARM_THREAD_STATE64 and 2016-11-03 20:51:28 +00:00
ARM Fix a bugs with using some Mach-O command line flags like "-arch armv7m". 2016-12-16 22:54:02 +00:00
Hexagon Revert "[IR] Remove the DIExpression field from DIGlobalVariable." 2016-12-16 19:39:01 +00:00
Inputs [WebAssembly] Add llvm-objdump support for wasm file format 2016-11-30 16:49:11 +00:00
X86 Revert "[IR] Remove the DIExpression field from DIGlobalVariable." 2016-12-16 19:39:01 +00:00
coff-file.test
coff-import-library.test llvm-objdump: add coff import library symbol listing support 2016-08-18 16:39:19 +00:00
coff-large-bss.test
coff-many-relocs.test
coff-non-null-terminated-file.test
coff-private-headers.test [llvm-objdump] Add support for dumping the PE TLS directory 2016-03-15 06:14:01 +00:00
common-symbol-elf.test
eh_frame-arm64.test [DebugInfo] Dump CIE augmentation data as a list of hex bytes 2016-03-01 18:38:05 +00:00
eh_frame-mipsel.test [DebugInfo] Dump CIE augmentation data as a list of hex bytes 2016-03-01 18:38:05 +00:00
eh_frame_zero_cie.test
hex-relocation-addr.test
invalid-input.test
macho-LLVM-bundle.test Add the printing the Mach-O (__LLVM,__bundle) xar archive file section "verbosely" 2016-05-23 21:34:12 +00:00
macho-bad-ordinal.test
macho-bind.test
macho-bind2.test
macho-compact-unwind-i386.test
macho-compact-unwind-x86_64.test
macho-exports-trie.test
macho-lazy-bind.test
macho-objc-meta-data.test Add a test case for the crash fixed with r267037. David Blaikie said it would be nice to have! 2016-04-27 20:37:06 +00:00
macho-rebase.test
macho-sections.test Fix bugs in llvm-objdump printing the last word for -section in non i386 and x86 files. 2016-04-27 23:43:00 +00:00
macho-unwind-info-arm64.test
macho-unwind-info-no-relocs.test
macho-unwind-info-x86_64.test
macho-weak-bind.test
malformed-archives.test llvm-objdump: Make some error messages more consistent 2016-10-26 22:37:52 +00:00
malformed-macho.test Thread Expected<...> up from createMachOObjectFile() to allow llvm-objdump to produce a real error message 2016-04-06 22:14:09 +00:00
malformed-unwind-x86_64.test llvm-objdump: deal with unexpected object files more gracefully. 2016-11-15 20:26:01 +00:00
proc-specific-section-elf.test
section-filter.test
wasm.txt [WebAssembly] Add llvm-objdump support for wasm file format 2016-11-30 16:49:11 +00:00
win64-unwind-data.test