commit | 869a02ea85546db31afcaf7a06ff0f57e1768a71 | [log] [tgz] |
---|---|---|
author | Simon Atanasyan <simon@atanasyan.com> | Thu Mar 24 17:18:14 2016 +0000 |
committer | Simon Atanasyan <simon@atanasyan.com> | Thu Mar 24 17:18:14 2016 +0000 |
tree | d1ea87444f15379f84414d294228bc9be4d32db8 | |
parent | 9e88a025225f7df0ac8e63df9851c99128ebeb3f [diff] |
[MC][mips] Add MipsMCInstrAnalysis class and register it as MC instruction analyzer 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. Differential Revision: http://reviews.llvm.org/D18209 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264309 91177308-0d34-0410-b5e6-96231b3b80d8