[clang] [llvm] [CodeGen][AArch64] ptrauth intrinsic to safely construct relative ptr (PR #142047)
Abhay Kanhere via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 30 10:07:29 PDT 2025
================
@@ -4643,6 +4643,12 @@ def PtrauthAuthAndResign : Builtin {
let Prototype = "void*(void*,int,void*,int,void*)";
}
+def PtrauthAuthLoadRelativeAndSign : Builtin {
+ let Spellings = ["__builtin_ptrauth_auth_load_relative_and_sign"];
+ let Attributes = [CustomTypeChecking, NoThrow];
----------------
AbhayKanhere wrote:
Please check - added type checks following similar builtin ptrauth_auth_resign. this adds an additional addend.
https://github.com/llvm/llvm-project/pull/142047
More information about the llvm-commits
mailing list