[Lldb-commits] [lldb] [lldb] Implement delayed breakpoints (PR #192971)
Felipe de Azevedo Piovezan via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 29 23:56:05 PDT 2026
================
@@ -79,6 +79,18 @@ using namespace lldb;
using namespace lldb_private;
using namespace std::chrono;
+void Process::DelayedBreakpointCache::Enqueue(lldb::BreakpointSiteSP site,
+ BreakpointAction action) {
+ auto [previous, inserted] =
+ m_site_to_action.insert({std::move(site), action});
+ // New site or already enqueued for the same action.
+ if (inserted || previous->second == action)
+ return;
+ // Previously enqueued for the opposite action, don't update the site.
+ m_site_to_action.erase(previous);
+ assert(site->m_enabled == (action == BreakpointAction::Enable));
----------------
felipepiovezan wrote:
Removed the move.
https://github.com/llvm/llvm-project/pull/192971
More information about the lldb-commits
mailing list