[all-commits] [llvm/llvm-project] 61d542: [BOLT] Fix r_aarch64_prelxx test

Alexey Moksyakov via All-commits all-commits at lists.llvm.org
Thu Apr 28 13:53:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 61d54259ed2bb7e67c19f658153362d117f7079e
      https://github.com/llvm/llvm-project/commit/61d54259ed2bb7e67c19f658153362d117f7079e
  Author: Alexey Moksyakov <alexey.moksyakov at huawei.com>
  Date:   2022-04-28 (Thu, 28 Apr 2022)

  Changed paths:
    A bolt/test/AArch64/r_aarch64_prelxx.s
    R bolt/test/runtime/AArch64/r_aarch64_prelxx.s

  Log Message:
  -----------
  [BOLT] Fix r_aarch64_prelxx test

The relocation value is calculated using the formula S + A - P,
the verification of the value is performed by inversely calculating the location address

Reviewed By: Amir

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




More information about the All-commits mailing list