[all-commits] [llvm/llvm-project] 5b1694: [clang] Ensure correct copying of records with aut...

Oliver Hunt via All-commits all-commits at lists.llvm.org
Thu Apr 24 16:23:11 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b16941f5707c3a326b688e0954f8882d8a36951
      https://github.com/llvm/llvm-project/commit/5b16941f5707c3a326b688e0954f8882d8a36951
  Author: Oliver Hunt <oliver at apple.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M clang/include/clang/AST/NonTrivialTypeVisitor.h
    M clang/include/clang/AST/Type.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/CodeGen/CGBlocks.cpp
    M clang/lib/CodeGen/CGBlocks.h
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CGNonTrivialStruct.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaDecl.cpp
    A clang/test/CodeGen/ptrauth-in-c-struct.c
    A clang/test/CodeGen/ptrauth-qualifier-blocks.c
    M clang/test/Sema/ptrauth-qualifier.c
    M clang/test/SemaCXX/ptrauth-qualifier.cpp

  Log Message:
  -----------
  [clang] Ensure correct copying of records with authenticated fields (#136783)

When records contain fields with pointer authentication, even simple
copies can require
additional work be performed. This patch contains the core functionality
required to
handle user defined structs, as well as the implicitly constructed
structs for blocks, etc.

Co-authored-by: Ahmed Bougacha
Co-authored-by: Akira Hatanaka
Co-authored-by: John Mccall



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