[PATCH] D149093: [llvm-objdump] [NFC] Factor out DisassemblerTarget class.

Jacek Caban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 24 13:03:50 PDT 2023


jacek created this revision.
jacek added reviewers: jhenderson, MaskRay.
Herald added subscribers: pengfei, kristof.beyls.
Herald added a project: All.
jacek requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This is a preparation for ARM64EC/ARM64X binaries, which may contain both ARM64 and x86_64 code in the same file. llvm-objdump already has partial support for mixing disassemblers for ARM thumb mode support. However, for ARM64EC we can't share MCContext, MCInstrAnalysis and PrettyPrinter instances. This patch provides additional abstraction which makes adding mixed code support later in the series easier.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149093

Files:
  llvm/tools/llvm-objdump/llvm-objdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149093.516510.patch
Type: text/x-patch
Size: 11085 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230424/f026cc63/attachment.bin>


More information about the llvm-commits mailing list