[all-commits] [llvm/llvm-project] 9470c2: [PAC][clang] Correct handling of ptrauth queries o...
Oliver Hunt via All-commits
all-commits at lists.llvm.org
Thu Oct 23 15:57:59 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9470c2e152c6917b8950d2d506b0a4505723011a
https://github.com/llvm/llvm-project/commit/9470c2e152c6917b8950d2d506b0a4505723011a
Author: Oliver Hunt <oliver at apple.com>
Date: 2025-10-23 (Thu, 23 Oct 2025)
Changed paths:
M clang/lib/AST/ASTContext.cpp
A clang/test/SemaCXX/ptrauth-nested-incomplete-types.cpp
Log Message:
-----------
[PAC][clang] Correct handling of ptrauth queries of incomplete types (#164528)
In normal circumstances we can never get to this point as earlier Sema
checks will have already have prevented us from making these queries.
However in some cases, for example a sufficiently large number of
errors, clang can start allowing incomplete types in records.
This means a number of the internal interfaces can end up perform type
trait queries that require querying the pointer authentication
properties of types that contain incomplete types. While the trait
queries attempt to guard against incomplete types, those tests fail in
this case as the incomplete types are actually nested in the seemingly
complete parent type.
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