[llvm] 5dc3cd0 - [llvm-exegesis][AArch64] Adding missing PR_PAC_ macro defintions (#138040)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 30 16:00:46 PDT 2025


Author: Haowei
Date: 2025-04-30T16:00:43-07:00
New Revision: 5dc3cd0ee40c00d9fb542488fa5a54ff70273112

URL: https://github.com/llvm/llvm-project/commit/5dc3cd0ee40c00d9fb542488fa5a54ff70273112
DIFF: https://github.com/llvm/llvm-project/commit/5dc3cd0ee40c00d9fb542488fa5a54ff70273112.diff

LOG: [llvm-exegesis][AArch64] Adding missing PR_PAC_ macro defintions (#138040)

This is a follow up of 3beacfa022da2a9c94e012e25bed89e8e4867ac2, which
added the PR_PAC_APIAKEY macro to resolve the build failures on older Linux
distros. However, it missed a few other definitions. This patch fixes
this issue.

Added: 
    

Modified: 
    llvm/tools/llvm-exegesis/lib/AArch64/Target.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-exegesis/lib/AArch64/Target.cpp b/llvm/tools/llvm-exegesis/lib/AArch64/Target.cpp
index b7ea1a75feee6..a1eb5a46f21fc 100644
--- a/llvm/tools/llvm-exegesis/lib/AArch64/Target.cpp
+++ b/llvm/tools/llvm-exegesis/lib/AArch64/Target.cpp
@@ -21,6 +21,15 @@
 #ifndef PR_PAC_APIAKEY
 #define PR_PAC_APIAKEY (1UL << 0)
 #endif
+#ifndef PR_PAC_APIBKEY
+#define PR_PAC_APIBKEY (1UL << 1)
+#endif
+#ifndef PR_PAC_APDAKEY
+#define PR_PAC_APDAKEY (1UL << 2)
+#endif
+#ifndef PR_PAC_APDBKEY
+#define PR_PAC_APDBKEY (1UL << 3)
+#endif
 #endif
 
 #define GET_AVAILABLE_OPCODE_CHECKER


        


More information about the llvm-commits mailing list