llvm/test/tools/llvm-symbolizer
Kevin Enderby 398ecdfe0a 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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290001 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-16 22:54:02 +00:00
..
Inputs [llvm-symbolizer] Print out non-address lines verbatim. 2016-01-07 23:57:41 +00:00
pdb [Symbolize] Check if the PE file has a PDB and emit an error if we can't load it 2016-06-03 20:25:09 +00:00
coff-dwarf.test [LIT] Fix system-windows 2016-12-13 00:29:56 +00:00
coff-exports.test Disable a test relying on symbol demangling on non-Windows platforms 2015-10-16 23:56:14 +00:00
dsym.test
fat.test Fix a bugs with using some Mach-O command line flags like "-arch armv7m". 2016-12-16 22:54:02 +00:00
ppc64.test
print_context.c [LLVM] Remove unwanted --check-prefix=CHECK from unit tests. NFC. 2016-04-19 23:51:52 +00:00
sym.test [llvm-symbolizer] Print out non-address lines verbatim. 2016-01-07 23:57:41 +00:00