[PATCH] D72180: [MC] Add parameter `Address` to MCInstrPrinter::printInstruction

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 3 14:18:45 PST 2020


rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

So, as is, this is NFC, it just adds a dead parameter to a virtual method, but eventually it will make its way through the layers to at the very least X86InstPrinterCommon::printPCRelImm, which will change llvm-objdump's behavior.

Do you think this will break any users? Should we add a flag to request the old behavior (print only the PC-relative offset)? I guess I suspect users are relying on our current behavior, but will be able to adapt.

I think we should do this, but let's wait for at least one other person to agree.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72180/new/

https://reviews.llvm.org/D72180





More information about the llvm-commits mailing list