[PATCH] D18209: [MC][mips] Add MipsMCInstrAnalysis class and register it as MC instruction analyzer

Simon Atanasyan via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 16 05:49:45 PDT 2016


atanasyan created this revision.
atanasyan added a reviewer: dsanders.
atanasyan added a subscriber: llvm-commits.
atanasyan set the repository for this revision to rL LLVM.
Herald added a reviewer: vkalintiris.
Herald added a subscriber: dsanders.

The `MipsMCInstrAnalysis` class overrides the `evaluateBranch` method and calculates target addresses for branch and calls instructions. That allows llvm-objdump to print functions' names in branch instructions in the disassemble mode.

Repository:
  rL LLVM

http://reviews.llvm.org/D18209

Files:
  lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
  test/MC/Mips/instr-analysis.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18209.50818.patch
Type: text/x-patch
Size: 3227 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160316/3aa4bd6d/attachment.bin>


More information about the llvm-commits mailing list