We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b593fe commit ab92f0fCopy full SHA for ab92f0f
llvm/tools/llvm-exegesis/lib/AArch64/Target.cpp
@@ -10,14 +10,7 @@
10
#include "AArch64RegisterInfo.h"
11
12
#if defined(__aarch64__) && defined(__linux__)
13
-#include <linux/prctl.h> // For PR_PAC_* constants
14
-#include <sys/prctl.h>
15
-#ifndef PR_PAC_SET_ENABLED_KEYS
16
-#define PR_PAC_SET_ENABLED_KEYS 60
17
-#endif
18
-#ifndef PR_PAC_GET_ENABLED_KEYS
19
-#define PR_PAC_GET_ENABLED_KEYS 61
20
+#include <sys/prctl.h> // For PR_PAC_* constants
21
#ifndef PR_PAC_APIAKEY
22
#define PR_PAC_APIAKEY (1UL << 0)
23
#endif
0 commit comments