llvm-project/llvm/lib/BinaryFormat
Chris Bieneman 63accaf46f [NFC] Refactor DXContainer to support more parts
This patch refactors some of the DXContainer Object and YAML code to
make it easier to add more part parsing.

DXContainer has a whole bunch of constant values, so I've added a
DXContainerConstants.def file which will grow with constant
definitions, but starts with just part identifiers. I've also added a
utility to parse the part magic string into an enum, and converted the
code to use that utility and the enum instead of the part literal
string.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D133980
2022-09-29 11:59:52 -05:00
..
AMDGPUMetadataVerifier.cpp [AMDGPU] Add the uses_dynamic_stack field to the kernel descriptor and the kernel metadata map 2022-07-18 10:07:13 +05:30
CMakeLists.txt [NFC] Refactor DXContainer to support more parts 2022-09-29 11:59:52 -05:00
COFF.cpp [COFF] Move section name encoding into BinaryFormat 2022-02-21 13:50:56 +02:00
DXContainer.cpp [NFC] Refactor DXContainer to support more parts 2022-09-29 11:59:52 -05:00
Dwarf.cpp
ELF.cpp Cleanup headers for BinaryFormat 2022-01-26 13:44:32 +01:00
MachO.cpp
Magic.cpp [ARM64EC 1/?] Add parsing support to llvm-objdump/llvm-readobj. 2022-09-05 12:25:08 -07: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 [iwyu] Move <cmath> out of llvm/Support/MathExtras.h 2022-09-28 20:49:01 +02:00
Wasm.cpp [WebAssembly] Consolidate sectionTypeToString in BinaryFormat [NFC] 2022-05-27 09:26:36 -07:00
XCOFF.cpp