[PATCH] D149093: [llvm-objdump] [NFC] Factor out DisassemblerTarget class.
Sergei Barannikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 29 13:33:10 PDT 2023
barannikov88 added inline comments.
================
Comment at: llvm/tools/llvm-objdump/llvm-objdump.cpp:1302
-static void disassembleObject(const Target *TheTarget, ObjectFile &Obj,
- const ObjectFile &DbgObj, MCContext &Ctx,
- MCDisassembler *PrimaryDisAsm,
- MCDisassembler *SecondaryDisAsm,
- const MCInstrAnalysis *MIA, MCInstPrinter *IP,
- const MCSubtargetInfo *PrimarySTI,
- const MCSubtargetInfo *SecondarySTI,
- PrettyPrinter &PIP, SourcePrinter &SP,
- bool InlineRelocs) {
+class DisassemblerTarget {
+public:
----------------
The class should be in anonymous namespace.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149093/new/
https://reviews.llvm.org/D149093
More information about the llvm-commits
mailing list