================
@@ -21,10 +22,19 @@
 namespace lldb_dap {
 
 struct Variables {
+  lldb::SBFrame frame; ///< Used for lazy fetching of globals.
   lldb::SBValueList locals;
-  lldb::SBValueList globals;
+  std::optional<lldb::SBValueList> globals;
   lldb::SBValueList registers;
 
+  /// Set the frame to be used for lazy fetching of globals if needed. Lazy
+  /// getching globals can improve performance and avoid having LLDB fetching
----------------
royitaqi wrote:

Typo? "getching" -> "fetching".

https://github.com/llvm/llvm-project/pull/178800
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to