[PATCH] D72172: [MC] Add parameter `Address` to MCInstPrinter::printInst

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 3 11:50:48 PST 2020


MaskRay added a comment.
Herald added a subscriber: wuzish.

I should mention that `MCDisassembler::getInstruction` (which is used together with `printInst` in a dissasembler) accepts `uint64_t Address`.

  virtual DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
                                      ArrayRef<uint8_t> Bytes, uint64_t Address,
                                      raw_ostream &VStream,
                                      raw_ostream &CStream) const = 0;


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72172





More information about the llvm-commits mailing list