[llvm] [llvm-exegesis][AArch64] Disable pauth and ldgm as unsupported instructions fixed (PR #136868)
Lakshay Kumar via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 25 02:40:44 PDT 2025
================
@@ -9,6 +9,14 @@
#include "AArch64.h"
#include "AArch64RegisterInfo.h"
+#if defined(__aarch64__) && defined(__linux__)
+#include <linux/prctl.h> // For PR_PAC_* constants
+#include <sys/prctl.h>
+#ifndef PR_PAC_SET_ENABLED_KEYS
+#define PR_PAC_SET_ENABLED_KEYS 60
+#endif
----------------
lakshayk-nv wrote:
Added definition `PR_PAC_SET_ENABLED_KEYS`
Thanks
https://github.com/llvm/llvm-project/pull/136868
More information about the llvm-commits
mailing list