[llvm-branch-commits] [lldb] [lldb] Implement delayed breakpoints (PR #192971)

David Spickett via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Apr 27 02:01:08 PDT 2026


================
@@ -3541,6 +3556,20 @@ void PruneThreadPlans();
   /// GetExtendedCrashInformation.
   StructuredData::DictionarySP m_crash_info_dict_sp;
 
+  struct DelayedBreakpointCache {
+    void Enqueue(lldb::BreakpointSiteSP site, BreakpointAction action);
+    void RemoveSite(lldb::BreakpointSiteSP site) {
+      m_site_to_action.erase(site);
+    }
+    void Clear() { m_site_to_action.clear(); }
+
+    std::map<lldb::BreakpointSiteSP, BreakpointAction> m_site_to_action;
----------------
DavidSpickett wrote:

Do we have ordering requirements for this?

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


More information about the llvm-branch-commits mailing list