[all-commits] [llvm/llvm-project] 161328: [clang][PAC] Fix builtins that claim address discr...

Oliver Hunt via All-commits all-commits at lists.llvm.org
Tue Aug 26 15:56:50 PDT 2025


  Branch: refs/heads/users/ojhunt/pr/155492
  Home:   https://github.com/llvm/llvm-project
  Commit: 161328cb97035946a6aa1747600cba488227c57a
      https://github.com/llvm/llvm-project/commit/161328cb97035946a6aa1747600cba488227c57a
  Author: Oliver Hunt <oliver at apple.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/DeclCXX.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaTypeTraits.cpp
    M clang/test/SemaCXX/ptrauth-triviality.cpp
    A clang/test/SemaCXX/ptrauth-type-traits.cpp
    M clang/test/SemaCXX/trivially-relocatable-ptrauth.cpp

  Log Message:
  -----------
  [clang][PAC] Fix builtins that claim address discriminated types are bitwise compatible (#154490)

A number of builtins report some variation of "this type is compatibile
with some bitwise equivalent operation", but this is not true for
address discriminated values. We had address a number of cases, but not
all of them. This PR corrects the remaining builtins.

Fixes #154394

(cherry picked from commit d66b53738a29fb3a0551167efcb8d35320a539b7)


  Commit: 551f7b2c9e0560ac1f5d37e83ec0e9f7b3d536ef
      https://github.com/llvm/llvm-project/commit/551f7b2c9e0560ac1f5d37e83ec0e9f7b3d536ef
  Author: Oliver Hunt <oliver at apple.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/Sema/SemaTypeTraits.cpp

  Log Message:
  -----------
  Remove ABI changes


Compare: https://github.com/llvm/llvm-project/compare/161328cb9703%5E...551f7b2c9e05

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