[PATCH] D11859: Generating vptr assume loads
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 13 11:10:05 PDT 2015
rsmith added inline comments.
================
Comment at: lib/CodeGen/CGCXXABI.h:349-357
@@ -348,1 +348,11 @@
+ virtual bool
+ isVirtualOffsetNeededForVTableField(CodeGenFunction &CGF,
+ const CXXRecordDecl *NearestVBase) = 0;
+
+ virtual bool canInitializeVPtr(const CXXRecordDecl *VTableClass,
+ const CXXRecordDecl *Base,
+ const CXXRecordDecl *NearestVBase) = 0;
+
+ /// Get the address point of the vtable for the given base subobject
+ virtual llvm::Constant *
----------------
Please also add documentation comments for the other two. =)
http://reviews.llvm.org/D11859
More information about the cfe-commits
mailing list