================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits