[Lldb-commits] [lldb] [lldb-dap] Reuse source object logics (PR #141426)

Ely Ronnen via lldb-commits lldb-commits at lists.llvm.org
Wed May 28 14:08:52 PDT 2025


================

----------------
eronnen wrote:

Currently I don't think it can live in lldb-dap, because both setting the target and calculating the symbol context are private:

```cpp
sc.target_sp = target.GetSP();
SymbolContextItem scope = static_cast<SymbolContextItem>(resolve_scope);
  if (m_opaque_up->IsValid())
    m_opaque_up->CalculateSymbolContext(&sc, scope);
```

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


More information about the lldb-commits mailing list