================
@@ -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 =
----------------
pcc wrote:

```
  bool isPointerAuthenticationAvailable() const {
    return LangOpts.PointerAuthCalls || LangOpts.PointerAuthIntrinsics;
  }
```
This doesn't seem like the right function to use because it returns whether 
PAuth ABI is enabled.

That being said we did end up removing the "generic" PFP support from the 
backend for now due to the lack of deactivation symbol support, so we don't 
really need to check this until we bring it back. Removed the check.

https://github.com/llvm/llvm-project/pull/172119
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to