[all-commits] [llvm/llvm-project] 5355b8: [ELF] Restore arm-branch.s test

Igor Kudrin via All-commits all-commits at lists.llvm.org
Thu Jun 17 03:09:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5355b8c6318c194ff15241b7a3217a51fc1a644b
      https://github.com/llvm/llvm-project/commit/5355b8c6318c194ff15241b7a3217a51fc1a644b
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2021-06-17 (Thu, 17 Jun 2021)

  Changed paths:
    M lld/test/ELF/Inputs/far-arm-abs.s
    M lld/test/ELF/Inputs/far-long-arm-abs.s
    M lld/test/ELF/arm-branch.s

  Log Message:
  -----------
  [ELF] Restore arm-branch.s test

After D77330, the comments are inconsistent with the disassembled code.
As the value of `far` has been changed, a thunk to reach it is now
generated, and target addresses of branch instructions are different
from what was initially expected.

The patch fixes that and makes the test closer to what it was originally.

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




More information about the All-commits mailing list