[PATCH] D112941: [clang] Add support for the new pointer authentication builtins.

Ana Pazos via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 2 16:13:27 PDT 2021


apazos added inline comments.


================
Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:839
+def err_ptrauth_disabled :
+  Error<"pointer authentication is disabled for the current target">;
+def err_ptrauth_invalid_key :
----------------
These two error types are confusing. 
In which situation would err_ptrauth_disabled be printed?
With this patch, it is only supported with arm64e triple, all other targets it is unsupported.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112941/new/

https://reviews.llvm.org/D112941



More information about the cfe-commits mailing list