[llvm-branch-commits] [clang] [Clang] Add pointer field protection feature. (PR #172119)
Oliver Hunt via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jan 13 12:46:49 PST 2026
================
@@ -15227,3 +15227,91 @@ bool ASTContext::useAbbreviatedThunkName(GlobalDecl VirtualMethodDecl,
ThunksToBeAbbreviated[VirtualMethodDecl] = std::move(SimplifiedThunkNames);
return Result;
}
+
+bool ASTContext::arePFPFieldsTriviallyCopyable(const RecordDecl *RD) const {
+ bool IsPAuthSupported =
----------------
ojhunt wrote:
It's worth verifying that isPointerAuthAvailable returns true under emu, it should be (as it's determined by available features rather than arch, but I wasn't aware of the emu mode so we should confirm)
https://github.com/llvm/llvm-project/pull/172119
More information about the llvm-branch-commits
mailing list