Skip to content

Commit fad22ce

Browse files
ashgtiJDevlieghere
andcommitted
Apply suggestions from code review
Co-authored-by: Jonas Devlieghere <[email protected]>
1 parent 4378be2 commit fad22ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/tools/lldb-dap/JSONUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ llvm::json::Value CreateStackFrame(lldb::SBFrame &frame,
819819
frame.GetSymbol().GetStartAddress().GetOffset();
820820
lldb::addr_t inst_line =
821821
inst_offset / (frame.GetThread().GetProcess().GetAddressByteSize() / 2);
822-
// lines are base-1 indexed
822+
// Line numbers are 1-based.
823823
object.try_emplace("line", inst_line + 1);
824824
object.try_emplace("column", 1);
825825
}

0 commit comments

Comments
 (0)