From b1c73532ee8997fe5dfbeb7d223027bdf99758a0 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 9 Dec 2023 14:28:42 +0100 Subject: Vendor import of llvm-project main llvmorg-18-init-14265-ga17671084db1. --- lldb/source/Target/ThreadPlanStepRange.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'lldb/source/Target/ThreadPlanStepRange.cpp') diff --git a/lldb/source/Target/ThreadPlanStepRange.cpp b/lldb/source/Target/ThreadPlanStepRange.cpp index 0d5144d7a46b..bb92adcae78b 100644 --- a/lldb/source/Target/ThreadPlanStepRange.cpp +++ b/lldb/source/Target/ThreadPlanStepRange.cpp @@ -400,14 +400,14 @@ bool ThreadPlanStepRange::NextRangeBreakpointExplainsStop( return false; else { // If we've hit the next branch breakpoint, then clear it. - size_t num_owners = bp_site_sp->GetNumberOfOwners(); + size_t num_constituents = bp_site_sp->GetNumberOfConstituents(); bool explains_stop = true; - // If all the owners are internal, then we are probably just stepping over - // this range from multiple threads, or multiple frames, so we want to + // If all the constituents are internal, then we are probably just stepping + // over this range from multiple threads, or multiple frames, so we want to // continue. If one is not internal, then we should not explain the stop, // and let the user breakpoint handle the stop. - for (size_t i = 0; i < num_owners; i++) { - if (!bp_site_sp->GetOwnerAtIndex(i)->GetBreakpoint().IsInternal()) { + for (size_t i = 0; i < num_constituents; i++) { + if (!bp_site_sp->GetConstituentAtIndex(i)->GetBreakpoint().IsInternal()) { explains_stop = false; break; } @@ -415,8 +415,8 @@ bool ThreadPlanStepRange::NextRangeBreakpointExplainsStop( LLDB_LOGF(log, "ThreadPlanStepRange::NextRangeBreakpointExplainsStop - Hit " "next range breakpoint which has %" PRIu64 - " owners - explains stop: %u.", - (uint64_t)num_owners, explains_stop); + " constituents - explains stop: %u.", + (uint64_t)num_constituents, explains_stop); ClearNextBranchBreakpoint(); return explains_stop; } -- cgit v1.3