firmiana402 wrote:

LLDB already has an internal DWARF expression evaluator in 
[DWARFExpression.cpp](https://github.com/llvm/llvm-project/blob/main/lldb/source/Expression/DWARFExpression.cpp).
 I may be missing some context, but I'm not sure why we would need a new module 
to implement expression evaluation here.

It seems to me that the most appropriate way to implement #181509 would be to:
1. construct the current stack frame context and the relevant debug 
information; and
2. reuse the existing evaluation logic in DWARFExpression.cpp.

Does that sound reasonable?

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

Reply via email to