[PATCH] D52823: [Disassembler] MCELFNoteDisassembler abstraction

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


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

This commit adds a new abstraction that a target can register with
TargetRegistry to disassemble an ELF note record. This is different to
the ELFNoteDumper abstraction I added in an earlier change; this new one
takes an MCTargetStreamer to stream directives into, and is intended for
a disassembler that wants to show the note record in a form that is
editable and re-assemblable.

A subsequent commit will add an implementation of this in AMDGPU.

There is currently no in-tree user of this.

Change-Id: I6a46db4f88b0d27a1abd06c878c2bf092bb1665b


Repository:
  rL LLVM

https://reviews.llvm.org/D52823

Files:
  include/llvm/MC/MCDisassembler/MCELFNoteDisassembler.h
  include/llvm/Support/TargetRegistry.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52823.168083.patch
Type: text/x-patch
Size: 4468 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181003/dd470fe5/attachment.bin>


More information about the llvm-commits mailing list