[Lldb-commits] [lldb] [lldb-dap] Fix source references (PR #144364)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 17 09:39:18 PDT 2025


================
@@ -406,6 +419,10 @@ struct DAP {
   std::thread progress_event_thread;
   /// @}
 
+  /// list of addresses mapped by sourceReference(index - 1)
----------------
JDevlieghere wrote:

`index - 1` seems wrong? That would mean that the address at index 0 has a source reference of -1?

```suggestion
  /// List of addresses mapped by sourceReference.
```

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


More information about the lldb-commits mailing list