================
@@ -3089,6 +3089,18 @@ def int_ptrauth_resign : Intrinsic<[llvm_i64_ty],
[IntrNoMem, ImmArg<ArgIndex<1>>,
ImmArg<ArgIndex<3>>]>;
+// Authenticate a signed pointer using a PC-based signature and resign it.
+// The second (key) and third (discriminator) arguments specify the signing
+// schema used for authenticating.
+// The fourth argument specifies the PC value used for authenticating.
+// The fifth and sixth arguments specify the schema used for resigning.
+// The signature must be valid.
+def int_ptrauth_auth_with_pc_and_resign : Intrinsic<[llvm_i64_ty],
+ [llvm_i64_ty,
llvm_i32_ty, llvm_i64_ty,
+ llvm_i64_ty,
llvm_i32_ty, llvm_i64_ty],
+ [IntrNoMem,
ImmArg<ArgIndex<1>>,
+ ImmArg<ArgIndex<4>>]>;
----------------
atrosinenko wrote:
Very minor nitpick: these four lines are indented with an extra space :)
https://github.com/llvm/llvm-project/pull/202742
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits