[all-commits] [llvm/llvm-project] 601645: [JITLink][aarch64] Pointer jump stubs should have ...

lhames via All-commits all-commits at lists.llvm.org
Wed Dec 6 15:31:08 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6016455d8810f5b19a275f3a149ab523f1821fb3
      https://github.com/llvm/llvm-project/commit/6016455d8810f5b19a275f3a149ab523f1821fb3
  Author: Lang Hames <lhames at gmail.com>
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/aarch64.h

  Log Message:
  -----------
  [JITLink][aarch64] Pointer jump stubs should have 4-byte alignment.

Pointer jump stubs content was incorrectly using 1-byte alignment. This bug
flew under the radar because the ordinary instruction streams (and aligned
section starts) usually left the block 4-byte aligned anyway. The bug was
observed when an out-of-tree pass introduced new content with arbitrary sizes
into the text section.

No testcase yet: We don't have a good way to replicate the perturbation that
was caused by the out-of-tree pass.




More information about the All-commits mailing list