================
@@ -125,28 +125,41 @@ ValueObject
*ValueObjectRegisterSet::CreateChildAtIndex(size_t idx) {
return nullptr;
}
+std::optional<std::pair<size_t, const RegisterInfo *>>
----------------
DavidSpickett wrote:
This return type is awkward but the goal is to deduplicate searching the
indexes in the set. Which this does, but one function wants the index and the
other wants the register info, which complicates it.
So this was my best solution to that.
https://github.com/llvm/llvm-project/pull/212727
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits