[all-commits] [llvm/llvm-project] b6cf0e: [llvm-objdump] [NFC] Factor out DisassemblerTarget...

Jacek Caban via All-commits all-commits at lists.llvm.org
Tue Jul 25 07:47:40 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b6cf0ea4e6d48a0b9d1fa9678825a27092c796b3
      https://github.com/llvm/llvm-project/commit/b6cf0ea4e6d48a0b9d1fa9678825a27092c796b3
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2023-07-25 (Tue, 25 Jul 2023)

  Changed paths:
    M llvm/tools/llvm-objdump/llvm-objdump.cpp

  Log Message:
  -----------
  [llvm-objdump] [NFC] Factor out DisassemblerTarget class.

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.

Reviewed By: jhenderson, MaskRay
Differential Revision: https://reviews.llvm.org/D149093




More information about the All-commits mailing list