================
@@ -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);
----------------
JDevlieghere wrote:

Don't use `auto` if the type is not obvious from the RHS.
```suggestion
  protocol::Source source = CreateSource(addr, target);
  SBLineEntry line_entry = GetLineEntryForAddress(target, addr);
```

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