[all-commits] [llvm/llvm-project] 93ff21: [ORC][AArch64] Guard against negative offsets in w...

lhames via All-commits all-commits at lists.llvm.org
Thu Jul 6 18:00:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93ff2110e53ad3d7fe7fde251d0e9a2165c99ed7
      https://github.com/llvm/llvm-project/commit/93ff2110e53ad3d7fe7fde251d0e9a2165c99ed7
  Author: Lang Hames <lhames at gmail.com>
  Date:   2023-07-06 (Thu, 06 Jul 2023)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/OrcABISupport.cpp

  Log Message:
  -----------
  [ORC][AArch64] Guard against negative offsets in writeIndirectStubsBlock.

In OrcAArch64::writeIndirectStubsBlock, masks the high bits of the immediate
operand to the stub's ldr instruction so that negative offsets to the stub
pointer do not overflow.

No testcase -- this fixes most of the OrcLazy testcases for AArch64 (at least on
Darwin), but we still need to fix the exception-handling test before we can turn
them on.




More information about the All-commits mailing list