aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ObjectFile/JSON/ObjectFileJSON.cpp
diff options
context:
space:
mode:
authorMin-Yih Hsu <minyihh@uci.edu>2023-02-07 11:21:12 -0800
committerMin-Yih Hsu <minyihh@uci.edu>2023-03-08 13:51:53 -0800
commitaaa2503ad9629ffe5eb9b325bf867a89bd19a31e (patch)
tree134ff6b165d7afb05511ebae7ec27c87cf526548 /lldb/source/Plugins/ObjectFile/JSON/ObjectFileJSON.cpp
parent7a4061ae372b3262703ffeea3b64db89187db611 (diff)
downloadllvm-aaa2503ad9629ffe5eb9b325bf867a89bd19a31e.zip
llvm-aaa2503ad9629ffe5eb9b325bf867a89bd19a31e.tar.gz
llvm-aaa2503ad9629ffe5eb9b325bf867a89bd19a31e.tar.bz2
[M68k] Factoring out memory operand printer into a separate file
In order to support inline asm with memory constraints, AsmPrinter::PrintAsmMemOperand needs to be implemented, which has lots of overlaps with MCInstPrinter especially on the format of complex addressing modes. This patch factors out the common printing logics from MCInstPrinter into a separate class inherited by both AsmPrinter and MCInstPrinter, in which the derived classes only need to provide primitives like printOperand and printDisp. This change is basically NFC. See D143529 for changes on AsmPrinter. Differential Revision: https://reviews.llvm.org/D143528
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/JSON/ObjectFileJSON.cpp')
0 files changed, 0 insertions, 0 deletions