[Lldb-commits] [lldb] [lldb] Use AST nodes as Subscript and BitField arguments in DIL (PR #169363)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Mon Dec 15 09:58:35 PST 2025
================
@@ -251,6 +251,22 @@ llvm::Expected<lldb::ValueObjectSP> Interpreter::Evaluate(const ASTNode *node) {
return value_or_error;
}
+llvm::Expected<lldb::ValueObjectSP>
+Interpreter::EvaluateAndDereference(const ASTNode *node) {
+ auto valobj_or_err = Evaluate(node);
+ if (!valobj_or_err)
+ return valobj_or_err;
+ lldb::ValueObjectSP valobj = *valobj_or_err;
----------------
Michael137 wrote:
I would document it in the `Evaluate` docs, but feel free to do that separately
https://github.com/llvm/llvm-project/pull/169363
More information about the lldb-commits
mailing list