================
@@ -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)
----------------
omjavaid wrote:

Apprently following entry is misleading  "Support for GCS is reported to 
userspace via HWCAP_GCS in the aux vector AT_HWCAP2 entry." from 
https://docs.kernel.org/next/arch/arm64/gcs.html

https://github.com/torvalds/linux/blob/master/arch/arm64/include/uapi/asm/hwcap.h
 seems to have HWCAP_GCS (1UL << 32). 

https://github.com/llvm/llvm-project/pull/123720
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to