We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ead256d commit b10ca9cCopy full SHA for b10ca9c
clang/lib/CodeGen/ItaniumCXXABI.cpp
@@ -795,9 +795,9 @@ CGCallee ItaniumCXXABI::EmitLoadOfMemberFunctionPointer(
795
// In the non-virtual path, the function pointer is actually a
796
// function pointer.
797
CGF.EmitBlock(FnNonVirtual);
798
-
799
llvm::Value *NonVirtualFn =
800
Builder.CreateIntToPtr(FnAsInt, CGF.UnqualPtrTy, "memptr.nonvirtualfn");
+
801
// Check the function pointer if CFI on member function pointers is enabled.
802
if (ShouldEmitCFICheck) {
803
CXXRecordDecl *RD = MPT->getMostRecentCXXRecordDecl();
0 commit comments