[all-commits] [llvm/llvm-project] 15d4a8: [PAC][ELF][AArch64] Encode signed GOT flag in PAut...

Daniil Kovalev via All-commits all-commits at lists.llvm.org
Tue Aug 6 08:24:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15d4a84e7977725dc0661995963a12ff8605b03c
      https://github.com/llvm/llvm-project/commit/15d4a84e7977725dc0661995963a12ff8605b03c
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-08-06 (Tue, 06 Aug 2024)

  Changed paths:
    M clang/include/clang/Basic/LangOptions.def
    M clang/lib/CodeGen/CodeGenModule.cpp
    M llvm/include/llvm/BinaryFormat/ELF.h
    M llvm/test/CodeGen/AArch64/note-gnu-property-elf-pauthabi.ll
    M llvm/test/tools/llvm-readobj/ELF/AArch64/aarch64-feature-pauth.s
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [PAC][ELF][AArch64] Encode signed GOT flag in PAuth core info (#96159)

Treat 8th bit of version value for llvm_linux platform as signed GOT
flag.

- clang: define `PointerAuthELFGOT` LangOption and set 8th bit of
  `aarch64-elf-pauthabi-version` LLVM module flag correspondingly;

- llvm-readobj: print `PointerAuthELFGOT` or `!PointerAuthELFGOT` in
  version description of llvm_linux platform depending on whether the flag
  is set.



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