[all-commits] [llvm/llvm-project] 4070aa: [Object][DX] Initial DXContainer parsing support

Chris B via All-commits all-commits at lists.llvm.org
Mon May 2 11:57:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4070aa01561c6bf2a5954d68228f373386658cde
      https://github.com/llvm/llvm-project/commit/4070aa01561c6bf2a5954d68228f373386658cde
  Author: Chris Bieneman <chris.bieneman at me.com>
  Date:   2022-05-02 (Mon, 02 May 2022)

  Changed paths:
    A llvm/include/llvm/BinaryFormat/DXContainer.h
    A llvm/include/llvm/Object/DXContainer.h
    M llvm/lib/Object/CMakeLists.txt
    A llvm/lib/Object/DXContainer.cpp
    M llvm/unittests/Object/CMakeLists.txt
    A llvm/unittests/Object/DXContainerTest.cpp

  Log Message:
  -----------
  [Object][DX] Initial DXContainer parsing support

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.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D124643




More information about the All-commits mailing list