[Lldb-commits] [lldb] [lldb] Fix evaluating expressions without JIT in an object context (PR #145599)
Igor Kudrin via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 25 00:09:29 PDT 2025
igorkudrin wrote:
> But we do support scalar persistent expression results in core files currently:
>
> (lldb) expr int $my_int = 5
(lldb) expr $my_int * 2
(int) $0 = 10
>
> and that should still work after your change. I see no reason why it wouldn't, but it would be good to add some use of persistent expression variables in your test as well as expression result variables to make sure.
Thank you for the test. It revealed another execution path that had to be fixed. I've updated the patch and added your test. Please take a look.
https://github.com/llvm/llvm-project/pull/145599
More information about the lldb-commits
mailing list