[llvm] [llvm-exegesis][AArch64] Disable pauth and ldgm as unsupported instructions fixed (PR #136868)
Abhilash Majumder via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 25 02:49:23 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
----------------
abhilash1910 wrote:
Great! LGTM!
https://github.com/llvm/llvm-project/pull/136868
More information about the llvm-commits
mailing list