[clang] [PAC] Implement function pointer re-signing (PR #98847)
Daniil Kovalev via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 16 05:00:38 PDT 2024
================
@@ -3126,3 +3137,57 @@ CodeGenFunction::EmitPointerAuthAuth(const CGPointerAuthInfo &PointerAuth,
return EmitPointerAuthCommon(*this, PointerAuth, Pointer,
llvm::Intrinsic::ptrauth_auth);
}
+
+llvm::Value *CodeGenFunction::EmitPointerAuthSign(QualType pointeeType,
----------------
kovdan01 wrote:
Just in case if I missed smth: why are some PAuth-related member functions of `CodeGenFunction` defined in CGPointerAuth.cpp, and some are defined here in CodeGenFunction.cpp? Could you please describe the logic behind this choice?
https://github.com/llvm/llvm-project/pull/98847
More information about the cfe-commits
mailing list