kuilpd wrote:

> This looks fine, but I have another question. It is possible to run
> 
> (lldb) target var some_global_var
> 
> when a process is not running. So I would expect to also be able to use the 
> DIL to do:
> 
> (lldb) target var (SomeOtherType) some_global_var + 1
> 
> which would be handled by the DIL. But since this change now requires a 
> StackFrame, how does that work?

DIL right now is only called from 
`StackFrame::GetValueForVariableExpressionPath`, it has always required a 
`StackFrame`, we never really intended for DIL to work without it. If it needs 
to be implemented for `target var` as well, we'll have to think how to even 
approach this.

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

Reply via email to