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

Ely Ronnen via lldb-commits lldb-commits at lists.llvm.org
Sun May 18 01:36:14 PDT 2025


================
@@ -71,22 +101,26 @@ BreakpointLocationsRequestHandler::Run(
       locations.emplace_back(line, column);
     }
   }
+}
 
-  // The line entries are sorted by addresses, but we must return the list
-  // ordered by line / column position.
-  std::sort(locations.begin(), locations.end());
-  locations.erase(llvm::unique(locations), locations.end());
+template <unsigned N>
+void BreakpointLocationsRequestHandler::AddAssemblyBreakpointLocations(
+    llvm::SmallVector<std::pair<uint32_t, uint32_t>, N> &locations,
----------------
eronnen wrote:

Agreem chganged to return `std::vector`

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


More information about the lldb-commits mailing list