[clang] [clang] Fix PointerAuth semantics of cpp_trivially_relocatable (PR #143969)
Corentin Jabot via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 12 14:05:14 PDT 2025
================
@@ -628,10 +628,13 @@ class ASTContext : public RefCountedBase<ASTContext> {
getRelocationInfoForCXXRecord(const CXXRecordDecl *) const;
void setRelocationInfoForCXXRecord(const CXXRecordDecl *,
CXXRecordDeclRelocationInfo);
+ bool containsAddressDiscriminatedPointerAuth(QualType T);
private:
llvm::DenseMap<const CXXRecordDecl *, CXXRecordDeclRelocationInfo>
RelocatableClasses;
+ llvm::DenseMap<const RecordDecl *, bool>
+ RecordContainsAddressDiscriminatedPointerAuth;
----------------
cor3ntin wrote:
We should do a better job at documenting these
https://github.com/llvm/llvm-project/pull/143969
More information about the cfe-commits
mailing list