================
@@ -47,12 +71,21 @@ struct Variables {
lldb::SBValue FindVariable(uint64_t variablesReference, llvm::StringRef
name);
+ /// Initialize a frame if it hasn't been already, otherwise do nothing
+ std::vector<protocol::Scope> ReadyFrame(const uint64_t dap_frame_id,
+ lldb::SBFrame &frame);
+ std::optional<ScopeData> GetScopeKind(const int64_t variablesReference);
+
/// Clear all scope variables and non-permanent expandable variables.
void Clear();
private:
/// Variable_reference start index of permanent expandable variable.
static constexpr int64_t PermanentVariableStartIndex = (1ll << 32);
+ int64_t m_next_temporary_var_ref{VARREF_FIRST_VAR_IDX};
----------------
Anthony-Eid wrote:
I moved `m_next_permanent_var_ref` up next to `PermanentVariableStartIndex` and
`m_next_permanent_var_ref` because the three struct fields relate to one
another.
https://github.com/llvm/llvm-project/pull/124232
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits