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 [AMDGPU][NFC]: Emit metadata for hidden_heap_v1 kernarg 2022-02-25 10:45:35 -08:00
CMakeLists.txt [COFF] Move section name encoding into BinaryFormat 2022-02-21 13:50:56 +02:00
COFF.cpp [COFF] Move section name encoding into BinaryFormat 2022-02-21 13:50:56 +02:00
Dwarf.cpp
ELF.cpp Cleanup headers for BinaryFormat 2022-01-26 13:44:32 +01:00
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 [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00
MsgPackReader.cpp
MsgPackWriter.cpp
Wasm.cpp [WebAssembly] Consolidate sectionTypeToString in BinaryFormat [NFC] 2022-05-27 09:26:36 -07:00
XCOFF.cpp [AIX][XCOFF][Bug-Fixed] parse the parameter type of the traceback table 2021-07-15 16:54:22 -04:00