[all-commits] [llvm/llvm-project] 65a6cb: [clang] Add support for `__ptrauth` being applied ...

Oliver Hunt via All-commits all-commits at lists.llvm.org
Fri May 9 13:12:30 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65a6cbde5bb074ce377cb1aa6145241ad1719c17
      https://github.com/llvm/llvm-project/commit/65a6cbde5bb074ce377cb1aa6145241ad1719c17
  Author: Oliver Hunt <oliver at apple.com>
  Date:   2025-05-09 (Fri, 09 May 2025)

  Changed paths:
    M clang/docs/PointerAuthentication.rst
    M clang/include/clang/AST/Type.h
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/CodeGen/CGExprConstant.cpp
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/lib/CodeGen/CGPointerAuth.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaType.cpp
    M clang/lib/Sema/TreeTransform.h
    A clang/test/CodeGen/ptrauth-restricted-intptr-qualifier.c
    M clang/test/Sema/ptrauth-qualifier.c
    M clang/test/SemaCXX/ptrauth-template-parameters.cpp
    M clang/test/SemaCXX/ptrauth-triviality.cpp

  Log Message:
  -----------
  [clang] Add support for `__ptrauth` being applied to integer types (#137580)

Allows the __ptrauth qualifier to be applied to pointer sized integer types,
updates Sema to ensure trivially copyable, etc correctly handle address
discriminated integers, and updates codegen to perform authentication
around arithmetic on the types.



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