llvm-project/llvm/lib/ObjectYAML
Jonas Devlieghere e854c17b02
[llvm] Teach LLVM about filesets
Teach LLVM about filesets. Filesets were added in macOS 11 (Big Sur) to
combine multiple Mach-O files. They introduce a new load command
(LC_FILESET_ENTRY) consisting of a fileset_entry_command.

  struct fileset_entry_command {
      uint32_t     cmd;        /* LC_FILESET_ENTRY */
      uint32_t     cmdsize;    /* includes entry_id string */
      uint64_t     vmaddr;     /* memory address of the entry */
      uint64_t     fileoff;    /* file offset of the entry */
      union lc_str entry_id;   /* contained entry id */
      uint32_t     reserved;   /* reserved */
  };

This patch teaches LLVM about the new load command and the corresponding
data.

Differential revision: https://reviews.llvm.org/D132432
2022-08-24 09:33:45 -07:00
..
ArchiveEmitter.cpp
ArchiveYAML.cpp
CMakeLists.txt [ObjectYAML] Add offloading binary implementations for obj2yaml and yaml2obj 2022-07-01 21:13:18 -04:00
COFFEmitter.cpp Don't use Optional::hasValue (NFC) 2022-06-20 20:05:16 -07:00
COFFYAML.cpp [yaml2obj][COFF] Add missing RISCV constants 2022-05-12 13:58:39 -07:00
CodeViewYAMLDebugSections.cpp
CodeViewYAMLSymbols.cpp Cleanup LLVMDebugInfoCodeView headers 2022-02-08 16:00:36 +01:00
CodeViewYAMLTypeHashing.cpp
CodeViewYAMLTypes.cpp [CodeView] Call llvm::codeview::visitMemberRecordStream with the deserialized CVType whose kind is FieldListRecord. 2022-06-29 17:18:56 -07:00
DWARFEmitter.cpp [llvm] Use value_or instead of getValueOr (NFC) 2022-06-18 23:07:11 -07:00
DWARFYAML.cpp [llvm] Use value_or instead of getValueOr (NFC) 2022-06-18 23:07:11 -07:00
DXContainerEmitter.cpp [llvm] Use value instead of getValue (NFC) 2022-07-13 23:11:56 -07:00
DXContainerYAML.cpp [NFC] Fix spelling error M->L 2022-06-06 19:38:15 -05:00
ELFEmitter.cpp [Propeller] Encode address offsets of basic blocks relative to the end of the previous basic blocks. 2022-06-28 07:42:54 -07:00
ELFYAML.cpp [llvm] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 11:24:15 -07:00
MachOEmitter.cpp Use llvm::less_first (NFC) 2022-06-04 21:23:18 -07:00
MachOYAML.cpp [llvm] Teach LLVM about filesets 2022-08-24 09:33:45 -07:00
MinidumpEmitter.cpp [llvm] Use value_or instead of getValueOr (NFC) 2022-06-18 23:07:11 -07:00
MinidumpYAML.cpp
ObjectYAML.cpp [ObjectYAML] Add offloading binary implementations for obj2yaml and yaml2obj 2022-07-01 21:13:18 -04:00
OffloadEmitter.cpp [ObjectYAML] Add offloading binary implementations for obj2yaml and yaml2obj 2022-07-01 21:13:18 -04:00
OffloadYAML.cpp [ObjectYAML] Add offloading binary implementations for obj2yaml and yaml2obj 2022-07-01 21:13:18 -04:00
WasmEmitter.cpp [WebAssembly] Rename member in WasmYAML.h to avoid compiler warning 2022-03-14 09:09:43 -07:00
WasmYAML.cpp [WebAssembly] Rename member in WasmYAML.h to avoid compiler warning 2022-03-14 09:09:43 -07:00
XCOFFEmitter.cpp [llvm] Use value_or instead of getValueOr (NFC) 2022-06-18 23:07:11 -07:00
XCOFFYAML.cpp [yaml2obj][XCOFF] parsing auxiliary symbols. 2022-01-10 02:38:49 +00:00
YAML.cpp [ObjectYAML] Use llvm::all_of (NFC) 2021-12-20 00:14:48 -08:00
yaml2obj.cpp [ObjectYAML] Add offloading binary implementations for obj2yaml and yaml2obj 2022-07-01 21:13:18 -04:00