[all-commits] [llvm/llvm-project] 8fdebf: [PAC][ThinLTO] Fix auth key for GOT entries of fun...

Daniil Kovalev via All-commits all-commits at lists.llvm.org
Sat Apr 19 07:41:11 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8fdebff69d92fd3c6023bf2d0646ca909bb4ec05
      https://github.com/llvm/llvm-project/commit/8fdebff69d92fd3c6023bf2d0646ca909bb4ec05
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2025-04-19 (Sat, 19 Apr 2025)

  Changed paths:
    M lld/ELF/Driver.cpp
    A lld/test/ELF/lto/aarch64-pac-got-func.ll

  Log Message:
  -----------
  [PAC][ThinLTO] Fix auth key for GOT entries of function symbols (#131467)

Symtab is first filled with the data from the bitcode file, and all
undefined symbols except TLS ones are `STT_NOTYPE`. Since auth key for a
signed GOT entry depends on the symbol type being `STT_FUNC` or not, we
need to update the symtab after the bitcode is compiled to an ELF object
and update symbol types for function symbols. This patch implements the
described behavior.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list