[PATCH] D124643: [Object][DX] Initial DXContainer parsing support
Chris Bieneman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 28 16:06:41 PDT 2022
beanz created this revision.
beanz added reviewers: MaskRay, serge-sans-paille, lhames.
Herald added subscribers: StephenFan, hiraditya, mgorny.
Herald added a project: All.
beanz requested review of this revision.
Herald added a project: LLVM.
This patch begins adding DXContainer parsing support to libObject.
Following the pattern used by ELFFile my goal here is to write a
standalone DXContainer parser and later write an adapter interface to
support a subset of the ObjectFile interfaces so that we can add
limited objdump support. I will also be adding ObjectYAML support to
help drive testing of the object tools and MC-level object writers as
those come together.
DXContainer is a slightly odd format. It is arranged in "parts" that
are semantically similar to sections, but it doesn't support symbol
listing.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D124643
Files:
llvm/include/llvm/BinaryFormat/DXContainer.h
llvm/include/llvm/Object/DXContainer.h
llvm/lib/Object/CMakeLists.txt
llvm/lib/Object/DXContainer.cpp
llvm/unittests/Object/CMakeLists.txt
llvm/unittests/Object/DXContainerTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124643.425919.patch
Type: text/x-patch
Size: 10285 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220428/f2501345/attachment.bin>
More information about the llvm-commits
mailing list