[Lldb-commits] [lldb] [lldb-dap] Reuse source object logics (PR #141426)
Ely Ronnen via lldb-commits
lldb-commits at lists.llvm.org
Fri May 30 12:57:40 PDT 2025
================
@@ -139,15 +141,16 @@ static DisassembledInstruction ConvertSBInstructionToDisassembledInstruction(
disassembled_inst.instruction = std::move(instruction);
- auto line_entry = addr.GetLineEntry();
+ auto source = CreateSource(addr, target);
+ auto line_entry = GetLineEntryForAddress(target, addr);
----------------
eronnen wrote:
I thought they were obvious from the RHS but changed :)
https://github.com/llvm/llvm-project/pull/141426
More information about the lldb-commits
mailing list