[PATCH] D104861: [llvm-objdump] Print memory operand addresses as regular comments

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 24 07:47:21 PDT 2021


ikudrin created this revision.
ikudrin added reviewers: MaskRay, jhenderson, seiya, skan.
ikudrin added a project: LLVM.
Herald added a subscriber: rupprecht.
ikudrin requested review of this revision.

The patch reuses the common code to print memory operand addresses as instruction comments. This helps to align the comments and enables using target-specific comment markers when `evaluateMemoryOperandAddress()` is implemented for them.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104861

Files:
  llvm/test/tools/llvm-objdump/X86/disassemble-align.s
  llvm/tools/llvm-objdump/llvm-objdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104861.354252.patch
Type: text/x-patch
Size: 5247 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210624/07d53118/attachment.bin>


More information about the llvm-commits mailing list