[all-commits] [llvm/llvm-project] f10a90: [clang][AArch64] Move initialization of ptrauth-* ...

Anatoly Trosinenko via All-commits all-commits at lists.llvm.org
Tue May 20 02:51:22 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f10a90587f044e134d470ca1ab56d8f244f25336
      https://github.com/llvm/llvm-project/commit/f10a90587f044e134d470ca1ab56d8f244f25336
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2025-05-20 (Tue, 20 May 2025)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/lib/CodeGen/TargetInfo.cpp
    M clang/lib/CodeGen/TargetInfo.h
    M clang/lib/CodeGen/Targets/AArch64.cpp
    M clang/test/CodeGenCXX/arm64-generated-fn-attr.cpp

  Log Message:
  -----------
  [clang][AArch64] Move initialization of ptrauth-* function attrs (#140277)

Move the initialization of ptrauth-* function attributes near the
initialization of branch protection attributes. The semantics of these
groups of attributes partially overlaps, so handle both groups in
getDefaultFunctionAttributes() and setTargetAttributes() functions to
prevent getting them out of sync. This fixes C++ TLS wrappers.



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