We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03a1099 commit 4064ac6Copy full SHA for 4064ac6
lldb/tools/lldb-dap/DAP.h
@@ -419,7 +419,7 @@ struct DAP {
419
std::thread progress_event_thread;
420
/// @}
421
422
- /// list of addresses mapped by sourceReference(index - 1)
+ /// List of addresses mapped by sourceReference.
423
std::vector<lldb::addr_t> m_source_references;
424
std::mutex m_source_references_mutex;
425
lldb/tools/lldb-dap/ProtocolUtils.cpp
@@ -61,9 +61,8 @@ std::optional<protocol::Source> CreateAssemblySource(
61
name = GetLoadAddressString(load_addr);
62
}
63
64
- if (load_addr == LLDB_INVALID_ADDRESS) {
+ if (load_addr == LLDB_INVALID_ADDRESS)
65
return std::nullopt;
66
- }
67
68
protocol::Source source;
69
source.sourceReference = create_reference(load_addr);
0 commit comments