[Lldb-commits] [lldb] [lldb][AArch64] Add HWCAP3 to register field detection (PR #145029)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Fri Jun 20 05:34:48 PDT 2025
================
@@ -29,8 +29,10 @@
using namespace lldb_private;
Arm64RegisterFlagsDetector::Fields
-Arm64RegisterFlagsDetector::DetectFPMRFields(uint64_t hwcap, uint64_t hwcap2) {
+Arm64RegisterFlagsDetector::DetectFPMRFields(uint64_t hwcap, uint64_t hwcap2,
+ uint64_t hwcap3) {
(void)hwcap;
+ (void)hwcap3;
----------------
DavidSpickett wrote:
I thought about making the parameters all the same like struct of optional values, but I like the compiler warnings we get from this way.
If we end up with HWCAP4 and a bunch of other context, then yes, some single struct is going to be better. Even if we have a slightly higher chance to get it wrong.
https://github.com/llvm/llvm-project/pull/145029
More information about the lldb-commits
mailing list