[llvm-branch-commits] [lldb] [lldb] Fix DIL losing StackFrame context after casting to pointer (PR #222386)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Sep 9 17:03:54 PDT 2026


jimingham wrote:

Passing in the most specific execution context you know about seems right.

How do you know that m_stack_frame is always valid?  For instance, if I load a binary into lldb but haven't run it yet, I can still do `target var` and I'd expect to be able to use a DIL expression for that.  But in that scenario you wouldn't have any stack frame context.

https://github.com/llvm/llvm-project/pull/222386


More information about the llvm-branch-commits mailing list