This is an archive of the discontinued LLVM Phabricator instance.

[MC][mips] Add MipsMCInstrAnalysis class and register it as MC instruction analyzer
ClosedPublic

Authored by atanasyan on Mar 16 2016, 5:49 AM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

atanasyan updated this revision to Diff 50818.Mar 16 2016, 5:49 AM
atanasyan retitled this revision from to [MC][mips] Add MipsMCInstrAnalysis class and register it as MC instruction analyzer.
atanasyan updated this object.
atanasyan added a reviewer: dsanders.
atanasyan set the repository for this revision to rL LLVM.
atanasyan added a subscriber: llvm-commits.
rafael accepted this revision.Mar 17 2016, 3:45 PM
rafael added a reviewer: rafael.
rafael added a subscriber: rafael.

LGTM

This revision is now accepted and ready to land.Mar 17 2016, 3:45 PM
This revision was automatically updated to reflect the committed changes.