[Lldb-commits] [lldb] [lldb] Introduce internal stop hooks (PR #164506)

Julian Lettner via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 24 13:18:49 PDT 2025


================
@@ -3098,6 +3107,23 @@ void Target::SetAllStopHooksActiveState(bool active_state) {
   }
 }
 
+// FIXME:  Ideally we would like to return a `const &` (const reference) instead
----------------
yln wrote:

Added new test to pin down the behavior: 27b1441d3e27a12a4
Made sure it goes red when order is messed up, for example:
```
for (auto &[_, hook] : llvm::reverse(m_stop_hooks))
    stop_hooks.push_back(hook);
```

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


More information about the lldb-commits mailing list