[all-commits] [llvm/llvm-project] 485075: [BOLT][AArch64] Don't change layout in PatchEntrie...

Vladislav Khmelevsky via All-commits all-commits at lists.llvm.org
Tue Nov 7 23:39:00 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 485075c095a5cd7bcc225cbbb312f72d1005c430
      https://github.com/llvm/llvm-project/commit/485075c095a5cd7bcc225cbbb312f72d1005c430
  Author: Vladislav Khmelevsky <och95 at yandex.ru>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M bolt/lib/Passes/PatchEntries.cpp
    A bolt/test/AArch64/patch-entries.s
    R bolt/test/AArch64/reloc-call26.s
    M bolt/unittests/Core/BinaryContext.cpp

  Log Message:
  -----------
  [BOLT][AArch64] Don't change layout in PatchEntries (#71278)

Due to LongJmp pass that is executed before PatchEntries we can't ignore
the function here since it would change pre-calculated output layout.
The test reloc-26 relied on the wrong behavior, rewritten to unittest.
This is also attemp to fix #70771




More information about the All-commits mailing list