[Lldb-commits] [lldb] [lldb][AArch64] Add Guarded Control Stack registers (PR #123720)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 24 04:50:07 PST 2025


================
@@ -2,8 +2,8 @@
 #include <sys/auxv.h>
 #include <sys/prctl.h>
 
-#ifndef HWCAP2_GCS
-#define HWCAP2_GCS (1UL << 63)
+#ifndef HWCAP_GCS
+#define HWCAP_GCS (1UL << 32)
----------------
DavidSpickett wrote:

Mark Brown confirmed that the documentation is incorrect. It is in HWCAP as the code shows.

https://github.com/llvm/llvm-project/pull/123720


More information about the lldb-commits mailing list