[all-commits] [llvm/llvm-project] 60827d: [lld][AArch64] Add BTI landing pad to PLT when it ...

Dani via All-commits all-commits at lists.llvm.org
Sun Apr 23 14:17:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 60827df765156cee6cca3dc5049388dde9dac1c0
      https://github.com/llvm/llvm-project/commit/60827df765156cee6cca3dc5049388dde9dac1c0
  Author: Daniel Kiss <daniel.kiss at arm.com>
  Date:   2023-04-23 (Sun, 23 Apr 2023)

  Changed paths:
    M lld/ELF/Arch/AArch64.cpp
    M lld/ELF/Symbols.h
    M lld/ELF/Thunks.cpp
    A lld/test/ELF/aarch64-feature-bti-plt.s

  Log Message:
  -----------
  [lld][AArch64] Add BTI landing pad to PLT when it is accessed by a range extension thunk.

Adding BTI to those PLT's which accessed with by a range extension thunk due to those preform an indirect call.
Fixes: #62140

Reviewed By: MaskRay

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




More information about the All-commits mailing list