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

Ebuka Ezike via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 17 10:10:42 PDT 2025


================
@@ -46,21 +46,27 @@ static bool ShouldDisplayAssemblySource(
   return false;
 }
 
-static protocol::Source CreateAssemblySource(const lldb::SBTarget &target,
-                                             lldb::SBAddress address) {
-  protocol::Source source;
+std::optional<protocol::Source> CreateAssemblySource(
+    const lldb::SBTarget &target, lldb::SBAddress address,
+    llvm::function_ref<int32_t(lldb::addr_t)> create_reference) {
----------------
da-viper wrote:

Will move it, did not want to since it was DAP.cpp was get quite large. 

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


More information about the lldb-commits mailing list