[all-commits] [llvm/llvm-project] 08086c: [BOLT][AArch64] Fix CI alignment

Vladislav Khmelevsky via All-commits all-commits at lists.llvm.org
Thu Sep 28 01:56:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08086c1529ab7a177c4fbf30c7d85327e288c582
      https://github.com/llvm/llvm-project/commit/08086c1529ab7a177c4fbf30c7d85327e288c582
  Author: Vladislav Khmelevsky <och95 at yandex.ru>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

  Changed paths:
    M bolt/lib/Passes/Aligner.cpp

  Log Message:
  -----------
  [BOLT][AArch64] Fix CI alignment

Fix alignment calculation for CI.

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


  Commit: 0053cb8ef0a13b444bea598159f873fade200367
      https://github.com/llvm/llvm-project/commit/0053cb8ef0a13b444bea598159f873fade200367
  Author: Vladislav Khmelevsky <och95 at yandex.ru>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

  Changed paths:
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M bolt/test/AArch64/constant_island_pie_update.s

  Log Message:
  -----------
  [BOLT] Fix .relr section addend patching

The new relocation offset in .relr section patching was calculated
wrong previously. Pass the new file offset to lambda instead of
re-calculating it in it. Test removes relocation from mytext section,
so in case of wrong offset calculation we won't emit right addend value
in expected place, i.e. on the new relocation offset.

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


Compare: https://github.com/llvm/llvm-project/compare/fb933fc6d76d...0053cb8ef0a1


More information about the All-commits mailing list