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

Ely Ronnen via lldb-commits lldb-commits at lists.llvm.org
Tue May 27 23:38:16 PDT 2025


================
@@ -58,6 +59,9 @@ class LLDB_API SBAddress {
   // "lldb::SBAddress SBTarget::ResolveLoadAddress (...)".
   lldb::SBSymbolContext GetSymbolContext(uint32_t resolve_scope);
 
+  lldb::SBSymbolContext GetSymbolContext(const SBTarget &target,
+                                         uint32_t resolve_scope);
----------------
eronnen wrote:

The `SBAdress::GetLineEntry` is not sufficient because it doesn't apply source maps, so I added a version that can use the target context

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


More information about the lldb-commits mailing list