[PATCH] D52821: [Disassembler][llvm-readobj] ELF note dumper abstraction

Tim Renouf via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 3 01:29:46 PDT 2018


tpr created this revision.
Herald added subscribers: llvm-commits, kristina, mgorny.

This commit introduces an abstraction to allow knowledge of how to dump
an ELF note record into the target that it is specific to.

llvm-readobj's ELF dumper uses the new abstraction, although no target
yet implements it. A subsequent change will move dumping of the
AMDGPU-specific note records out of llvm-readobj and into
lib/Target/AMDGPU.

Change-Id: Ib42c861bfda0ad38f0ceb2f61658215326c8fcaf


Repository:
  rL LLVM

https://reviews.llvm.org/D52821

Files:
  include/llvm/Object/ELFNoteDumper.h
  include/llvm/Support/TargetRegistry.h
  tools/llvm-readobj/CMakeLists.txt
  tools/llvm-readobj/ELFDumper.cpp
  tools/llvm-readobj/llvm-readobj.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52821.168081.patch
Type: text/x-patch
Size: 7277 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181003/3ce637f6/attachment.bin>


More information about the llvm-commits mailing list