[Lldb-commits] [lldb] [lldb-dap] assembly breakpoints (PR #139969)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Mon May 19 09:31:16 PDT 2025


================
@@ -452,6 +475,9 @@ struct DAP {
 
   std::mutex m_active_request_mutex;
   const protocol::Request *m_active_request;
+
+  llvm::StringMap<SourceBreakpointMap> m_source_breakpoints;
+  llvm::DenseMap<int64_t, SourceBreakpointMap> m_source_assembly_breakpoints;
----------------
ashgti wrote:

If we made `protocol::Source` work in a `std::map` (or `llvm::DenseMap`) as a key, could we merge these? That could simplify things and make this more consistent between the two.

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


More information about the lldb-commits mailing list