llvm-project/llvm/lib/BinaryFormat
Joseph Huber afd2f7e991 [Binary] Promote OffloadBinary to inherit from Binary
We use the `OffloadBinary` to create binary images of offloading files
and their corresonding metadata. This patch changes this to inherit from
the base `Binary` class. This allows us to create and insepect these
more generically. This patch includes all the necessary glue to
implement this as a new binary format, along with added the magic bytes
we use to distinguish the offloading binary to the `file_magic`
implementation.

Reviewed By: tra

Differential Revision: https://reviews.llvm.org/D126812
2022-06-01 18:40:57 -04:00
..
AMDGPUMetadataVerifier.cpp
CMakeLists.txt
COFF.cpp
Dwarf.cpp
ELF.cpp
MachO.cpp
Magic.cpp [Binary] Promote OffloadBinary to inherit from Binary 2022-06-01 18:40:57 -04:00
Minidump.cpp
MsgPackDocument.cpp
MsgPackDocumentYAML.cpp
MsgPackReader.cpp
MsgPackWriter.cpp
Wasm.cpp [WebAssembly] Consolidate sectionTypeToString in BinaryFormat [NFC] 2022-05-27 09:26:36 -07:00
XCOFF.cpp