[llvm] [llvm-objdump] --adjust-vma: Call getInstruction with adjusted address (PR #140471)

Ulrich Weigand via llvm-commits llvm-commits at lists.llvm.org
Mon May 19 00:53:59 PDT 2025


uweigand wrote:

Hi @MaskRay , I'm also confused why SystemZ is supposedly doing anything special here.  The only use of the `Address` argument to `getInstruction` in the SystemZ implementation is to pass it on to `MCDecoder::tryAddingSymbolicOperand`, which looks to be exactly the same that most other targets do as well.

Also, there seem to be several other calls to `getInstruction` in llvm-objdump.cpp - don't they also need to pass the adjusted address`

https://github.com/llvm/llvm-project/pull/140471


More information about the llvm-commits mailing list