The added section and table here list the object file formats LLVM MC
supports and which targets support each format.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
PowerPC and Mach-O is not a thing anymore?
The ELF line is too long.
I believe it is Mach-O and not MachO.
PowerPC MachO (and Darwin) support was removed a few years ago.
The ELF line is too long.
RST doesn't wrap lines in tables, so wrapping the line in the file will break the table. Because of this we generally allow long lines in documentation files :(
I believe it is Mach-O and not MachO.
Elsewhere in this doc it is MachO, and generally there's no real consistency here. Most places in the code it is MachO, but some places in text it is Mach-O. I chose to match the spelling used elsewhere in this file for consistency.
llvm/docs/CodeGenerator.rst | ||
---|---|---|
730 | SPIRV I assume that supported targets here are LLVM_TARGETS_TO_BUILD/LLVM_EXPERIMENTAL_TARGETS_TO_BUILD allowed values (no - separator), not the official term describing the target. |
llvm/docs/CodeGenerator.rst | ||
---|---|---|
727 | AArch64, ARM, X86 I believe is the right set for COFF. |
llvm/docs/CodeGenerator.rst | ||
---|---|---|
727 | Yes, drop PowerPC. Microsoft's PE-COFF can support a bunch of other stuff too, like PPC, Alpha, MIPS, IA64 etc, but we only support writing AArch64, ARM and X86 (both 32 and 64). |
llvm/docs/CodeGenerator.rst | ||
---|---|---|
732 | Yes, for z/OS (although upstream support for z/OS is not fully complete at this point). Of course, SystemZ should also be listed for ELF (for Linux, which has been fully supported for many years). |
llvm/docs/CodeGenerator.rst | ||
---|---|---|
731 | The spelling of MachO is largely inconsistent in documentation and code, but I was hoping for SPIR-V that we could use the proper spelling everywhere except where we refer to the target (which omits the - due to limitations that are sad). So far, the SPIRVUsage doc is consistent in referring to the format as SPIR-V, so I'd like to keep that consistent here. |
"object file format" is more conventional.