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

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

Looking at the `SBTarget::ResolveSymbolContextForAddress()`  implementation it 
won't apply source maps correctly because it doesn't set the target to the 
symbol context at any point. in order to apply the source maps you must have 
`sc.target_sp` set:

```cpp
if ((resolve_scope & eSymbolContextLineEntry) && sc.line_entry.IsValid())
  sc.line_entry.ApplyFileMappings(sc.target_sp);
```

https://github.com/llvm/llvm-project/pull/141426
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to