[llvm-branch-commits] [lldb] [lldb] Add support for ScriptedFrame to provide values/variables. (PR #178575)
Med Ismail Bennani via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jan 29 10:52:30 PST 2026
================
@@ -49,6 +50,16 @@ class ScriptedFrameInterface : virtual public ScriptedInterface {
virtual std::optional<std::string> GetRegisterContext() {
return std::nullopt;
}
+
+ virtual std::optional<lldb::ValueObjectListSP> GetVariables() {
+ return std::nullopt;
+ }
----------------
medismailben wrote:
```suggestion
virtual lldb::ValueObjectListSP GetVariables() {
return {};
}
```
Not sure wrapping the pointer in an optional adds something here. We could just check for the pointer validity.
https://github.com/llvm/llvm-project/pull/178575
More information about the llvm-branch-commits
mailing list