JDevlieghere added inline comments.

================
Comment at: lldb/source/Breakpoint/BreakpointLocation.cpp:73
+  if (m_bp_site_sp)
+    return m_bp_site_sp->IsHardware();
+
----------------
Should we sanity check that this is true when `m_hardware_index != 
LLDB_INVALID_INDEX32`? 

```lldbassert(m_hardware_index == LLDB_INVALID_INDEX32 || 
m_bp_site_sp->IsHardware());```


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84257/new/

https://reviews.llvm.org/D84257



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to