1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 05:52:53 +02:00
llvm-mirror/include/llvm/Object
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
..
Archive.h [Object] Replace TimeValue with std::chrono 2016-10-24 13:38:27 +00:00
ArchiveWriter.h Only computeRelativePath() on new members 2016-11-30 22:32:58 +00:00
Binary.h [WebAssembly] Add llvm-objdump support for wasm file format 2016-11-30 16:49:11 +00:00
COFF.h Object: Make SymbolicFile::symbol_{begin,end}() virtual and remove unnecessary wrappers. 2016-11-22 03:38:40 +00:00
COFFImportFile.h Object: Make SymbolicFile::symbol_{begin,end}() virtual and remove unnecessary wrappers. 2016-11-22 03:38:40 +00:00
ELF.h [ELF] Convert ELF.h to Expected<T>. 2016-11-16 05:10:28 +00:00
ELFObjectFile.h Fix R_AARCH64_MOVW_UABS_G3 relocation 2016-12-15 22:36:53 +00:00
ELFTypes.h Fix comment typos. NFC. 2016-11-20 13:47:59 +00:00
Error.h [Object/ELF] - Make getSymbol() return Error. 2016-11-03 08:40:55 +00:00
IRObjectFile.h Object: Make IRObjectFile own multiple modules and enumerate symbols from all modules. 2016-12-13 20:20:17 +00:00
MachO.h Fix a bugs with using some Mach-O command line flags like "-arch armv7m". 2016-12-16 22:54:02 +00:00
MachOUniversal.h Fix a bugs with using some Mach-O command line flags like "-arch armv7m". 2016-12-16 22:54:02 +00:00
ModuleSummaryIndexObjectFile.h Object: Make SymbolicFile::symbol_{begin,end}() virtual and remove unnecessary wrappers. 2016-11-22 03:38:40 +00:00
ModuleSymbolTable.h Object: Extract a ModuleSymbolTable class from IRObjectFile. 2016-12-01 06:51:47 +00:00
ObjectFile.h [WebAssembly] Add llvm-objdump support for wasm file format 2016-11-30 16:49:11 +00:00
RelocVisitor.h Fix R_AARCH64_MOVW_UABS_G3 relocation 2016-12-15 22:36:53 +00:00
StackMapParser.h [Stackmap] Added callsite counts to emitted function information. 2016-09-14 20:22:03 +00:00
SymbolicFile.h Object: Add SF_Executable symbol flag. 2016-12-01 06:53:47 +00:00
SymbolSize.h Fix llvm-symbolizer to correctly sort a symbol array and calculate symbol sizes 2016-11-15 21:07:03 +00:00
Wasm.h [WebAssembly] Add llvm-objdump support for wasm file format 2016-11-30 16:49:11 +00:00