[Lldb-commits] [lldb] [lldb] Step over non-lldb breakpoints (PR #174348)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 5 06:40:21 PST 2026


================
@@ -336,3 +338,31 @@ UnwindPlanSP ArchitectureArm::GetArchitectureUnwindPlan(
   }
   return new_plan;
 }
+
+bool ArchitectureArm::IsValidBreakpointInstruction(
+    llvm::ArrayRef<uint8_t> reference, llvm::ArrayRef<uint8_t> observed) const {
+  auto is_bkpt = false;
+  if (observed.size() < reference.size())
----------------
DavidSpickett wrote:

This check is the same as the generic implementation, which is ok, but please do it the same way around. Unless you're making a point by writing it the other way, in which case add a comment saying so.

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


More information about the lldb-commits mailing list