[clang] [clang][ptrauth] Add support for querying the ptrauth schema of a type (PR #138482)

Oliver Hunt via cfe-commits cfe-commits at lists.llvm.org
Wed May 7 12:48:20 PDT 2025


================
@@ -1039,6 +1039,8 @@ def err_ptrauth_address_discrimination_invalid : Error<
   "invalid address discrimination flag '%0'; '__ptrauth' requires '0' or '1'">;
 def err_ptrauth_extra_discriminator_invalid : Error<
   "invalid extra discriminator flag '%0'; '__ptrauth' requires a value between '0' and '%1'">;
+def err_ptrauth_query_type_has_no_pointer_authentication
+    : Error<"argument to %0 parameter is not an authenticated value">;
----------------
ojhunt wrote:

righto, I'll try to go through this and other PRs to see if there's anything similar

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


More information about the cfe-commits mailing list