[clang] [PAC] Implement function pointer re-signing (PR #98847)

Akira Hatanaka via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 16 16:41:04 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,
----------------
ahatanak wrote:

I don't think there is any logic behind this choice. The ptrauth-related functions in CodeGenFunction.cpp should be moved to CGPointerAuth.cpp.

https://github.com/llvm/llvm-project/pull/98847


More information about the cfe-commits mailing list