[all-commits] [llvm/llvm-project] 8bdbcf: [BOLT] Handle ifuncs trampolines for aarch64

Vladislav Khmelevsky via All-commits all-commits at lists.llvm.org
Tue Mar 8 15:02:29 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8bdbcfe7d8b0f5ab08fe4b688c3d698f38097b6b
      https://github.com/llvm/llvm-project/commit/8bdbcfe7d8b0f5ab08fe4b688c3d698f38097b6b
  Author: Vladislav Khmelevsky <och95 at yandex.ru>
  Date:   2022-03-09 (Wed, 09 Mar 2022)

  Changed paths:
    M bolt/include/bolt/Rewrite/RewriteInstance.h
    M bolt/lib/Rewrite/RewriteInstance.cpp
    A bolt/test/runtime/AArch64/iplt.c

  Log Message:
  -----------
  [BOLT] Handle ifuncs trampolines for aarch64

The aarch64 uses the trampolines located in .iplt section, which
contains plt-like trampolines on the value stored in .got. In this case
we don't have JUMP_SLOT relocation, but we have a symbol that belongs to
ifunc trampoline, so use it and set set plt symbol for such functions.

Vladislav Khmelevsky,
Advanced Software Technology Lab, Huawei

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




More information about the All-commits mailing list