Skip to content

Commit 5dc3cd0

Browse files
authored
[llvm-exegesis][AArch64] Adding missing PR_PAC_ macro defintions (#138040)
This is a follow up of 3beacfa, 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.
1 parent 71039bb commit 5dc3cd0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@
2121
#ifndef PR_PAC_APIAKEY
2222
#define PR_PAC_APIAKEY (1UL << 0)
2323
#endif
24+
#ifndef PR_PAC_APIBKEY
25+
#define PR_PAC_APIBKEY (1UL << 1)
26+
#endif
27+
#ifndef PR_PAC_APDAKEY
28+
#define PR_PAC_APDAKEY (1UL << 2)
29+
#endif
30+
#ifndef PR_PAC_APDBKEY
31+
#define PR_PAC_APDBKEY (1UL << 3)
32+
#endif
2433
#endif
2534

2635
#define GET_AVAILABLE_OPCODE_CHECKER

0 commit comments

Comments
 (0)