[Lldb-commits] [lldb] [lldb][NFC] Move BreakpointSite::IsEnabled/SetEnabled into Process (PR #192964)

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 29 02:46:11 PDT 2026


================
@@ -1587,6 +1586,16 @@ Status Process::EnableBreakpointSiteByID(lldb::user_id_t break_id) {
   return error;
 }
 
+bool Process::IsBreakpointSiteEnabled(const lldb::BreakpointSiteSP &site) {
+  assert(site);
+  return site->m_enabled;
+}
+
+bool Process::IsBreakpointSiteEnabled(BreakpointSite *site) {
+  assert(site);
+  return site->m_enabled;
+}
----------------
felipepiovezan wrote:

good point, this was an artifact of some intermediate states while I was developing. I've replaced both with the reference version.

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


More information about the lldb-commits mailing list