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

Jacek Caban via All-commits all-commits at lists.llvm.org
Mon Jul 24 13:38:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c48f57c14dcfe2410afcb4c6778dcbb40d294b5
      https://github.com/llvm/llvm-project/commit/6c48f57c14dcfe2410afcb4c6778dcbb40d294b5
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2023-07-24 (Mon, 24 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