[clang] [clang] Add arm64e ABI-defined key assignments to ptrauth.h. (PR #93901)

Anton Korobeynikov via cfe-commits cfe-commits at lists.llvm.org
Thu May 30 22:29:13 PDT 2024


================
@@ -15,6 +15,29 @@ typedef enum {
   ptrauth_key_asib = 1,
   ptrauth_key_asda = 2,
   ptrauth_key_asdb = 3,
+
+#ifdef __APPLE__
----------------
asl wrote:

I believe these are defaults for ELF as well. So, I'd remove ifdef and decide on necessary gating when there will be a precedent.

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


More information about the cfe-commits mailing list