[all-commits] [llvm/llvm-project] 85ec21: [objdump][ARM] Fix evaluating the target address o...

Igor Kudrin via All-commits all-commits at lists.llvm.org
Thu Jun 17 20:42:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85ec21075100049ea8b8e5f945628ae2adae628e
      https://github.com/llvm/llvm-project/commit/85ec21075100049ea8b8e5f945628ae2adae628e
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2021-06-18 (Fri, 18 Jun 2021)

  Changed paths:
    M llvm/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
    A llvm/test/tools/llvm-objdump/ELF/ARM/tblxi-target.s

  Log Message:
  -----------
  [objdump][ARM] Fix evaluating the target address of a Thumb BLX(i)

The instruction can be 16-bit aligned while targeting 32-bit aligned
code. To calculate the target address correctly, the address of the
instruction has to be adjusted.

Differential Revision: https://reviews.llvm.org/D104446




More information about the All-commits mailing list