[llvm-branch-commits] [lldb] [lldb] Add synthetic variable support to Get*VariableList. (PR #181501)

Med Ismail Bennani via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Apr 16 11:34:41 PDT 2026


================
@@ -285,13 +292,22 @@ class StackFrame : public ExecutionContextScope,
   ///     that are visible to the entire compilation unit (e.g. file
   ///     static in C, globals that are homed in this CU).
   ///
+  /// \param[in] include_synthetic_vars
+  ///     Whether to also include extended variables from other
+  ///     sources. For example, synthetic frames can produce
+  ///     variables that aren't strictly 'variables', but can still
+  ///     be displayed with their values. Defaults to `true` because
+  ///     we are assuming that if a user's context has extended variables,
----------------
medismailben wrote:

```suggestion
  ///     we are assuming that if a user's context has synthetic variables,
```

https://github.com/llvm/llvm-project/pull/181501


More information about the llvm-branch-commits mailing list