Home
last modified time | relevance | path

Searched refs:bp_id (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Breakpoint/
H A DBreakpointID.cpp20 BreakpointID::BreakpointID(break_id_t bp_id, break_id_t loc_id) in BreakpointID() argument
21 : m_break_id(bp_id), m_location_id(loc_id) {} in BreakpointID()
56 void BreakpointID::GetCanonicalReference(Stream *s, break_id_t bp_id, in GetCanonicalReference() argument
58 if (bp_id == LLDB_INVALID_BREAK_ID) in GetCanonicalReference()
61 s->Printf("%i", bp_id); in GetCanonicalReference()
63 s->Printf("%i.%i", bp_id, loc_id); in GetCanonicalReference()
68 break_id_t bp_id; in ParseCanonicalReference() local
75 if (input.consumeInteger(0, bp_id)) in ParseCanonicalReference()
88 return BreakpointID(bp_id, loc_id); in ParseCanonicalReference()
H A DBreakpointIDList.cpp47 bool BreakpointIDList::AddBreakpointID(BreakpointID bp_id) { in AddBreakpointID() argument
48 m_breakpoint_ids.push_back(bp_id); in AddBreakpointID()
54 bool BreakpointIDList::Contains(BreakpointID bp_id) const { in Contains()
55 return llvm::is_contained(m_breakpoint_ids, bp_id); in Contains()
119 auto bp_id = BreakpointID::ParseCanonicalReference(prefix); in FindAndReplaceIDRanges() local
120 if (bp_id) in FindAndReplaceIDRanges()
121 breakpoint_sp = target->GetBreakpointByID(bp_id->GetBreakpointID()); in FindAndReplaceIDRanges()
126 bp_id->GetBreakpointID()); in FindAndReplaceIDRanges()
134 &canonical_id_str, bp_id->GetBreakpointID(), bp_loc->GetID()); in FindAndReplaceIDRanges()
H A DBreakpointLocationCollection.cpp33 bool BreakpointLocationCollection::Remove(lldb::break_id_t bp_id, in Remove() argument
36 collection::iterator pos = GetIDPairIterator(bp_id, bp_loc_id); // Predicate in Remove()
H A DBreakpointSite.cpp62 bool BreakpointSite::IsBreakpointAtThisSite(lldb::break_id_t bp_id) { in ShouldStop()
66 if (m_constituents.GetByIndex(i)->GetBreakpoint().GetID() == bp_id) in IsBreakpointAtThisSite()
64 IsBreakpointAtThisSite(lldb::break_id_t bp_id) IsBreakpointAtThisSite() argument
H A DBreakpointSiteList.cpp
/freebsd/contrib/llvm-project/lldb/include/lldb/Breakpoint/
H A DBreakpointID.h24 BreakpointID(lldb::break_id_t bp_id = LLDB_INVALID_BREAK_ID,
37 void SetID(lldb::break_id_t bp_id, lldb::break_id_t loc_id) { in SetID() argument
38 m_break_id = bp_id; in SetID()
42 void SetBreakpointID(lldb::break_id_t bp_id) { m_break_id = bp_id; } in SetBreakpointID() argument
H A DBreakpointIDList.h43 bool AddBreakpointID(BreakpointID bp_id);
45 bool Contains(BreakpointID bp_id) const;
H A DBreakpointSiteList.h
H A DBreakpointSite.h175 /// \param[in] bp_id
179 /// \b true if bp_id has a location that is at this site,
181 bool IsBreakpointAtThisSite(lldb::break_id_t bp_id);
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectProcess.cpp551 break_id_t bp_id = bkpt_id.GetBreakpointID(); in DoExecute() local
554 = bkpt_list.FindBreakpointByID(bp_id); in DoExecute()
600 for (break_id_t bp_id : bkpts_with_locs_seen) { in DoExecute() local
601 if (bkpts_seen.count(bp_id)) { in DoExecute()
603 "one of its locations: {0}", bp_id); in DoExecute()
610 break_id_t bp_id = bp_sp->GetID(); in DoExecute() local
614 if (!bkpts_with_locs_seen.count(bp_id)) { in DoExecute()
615 if (!bkpts_seen.count(bp_id) && bp_sp->IsEnabled()) { in DoExecute()
616 bkpts_disabled.push_back(bp_id); in DoExecute()
625 BreakpointID tmp_id(bp_id, LLDB_INVALID_BREAK_ID); in DoExecute()
[all …]
H A DCommandObjectBreakpoint.cpp1469 BreakpointID bp_id(breakpoint_sp->GetID()); in DoExecute() local
1470 if (!excluded_bp_ids.Contains(bp_id)) in DoExecute()
1471 valid_bp_ids.AddBreakpointID(bp_id); in DoExecute()
1697 lldb::break_id_t bp_id = in DoExecute() local
1699 bp_sp = target.GetBreakpointByID(bp_id); in DoExecute()
1702 bp_id); in DoExecute()
1796 lldb::break_id_t bp_id = in DoExecute() local
1798 BreakpointSP bp_sp = breakpoints.FindBreakpointByID(bp_id); in DoExecute()
1868 lldb::break_id_t bp_id = in DoExecute() local
1870 BreakpointSP bp_sp = breakpoints.FindBreakpointByID(bp_id); in DoExecute()
[all …]
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBBreakpoint.cpp803 lldb::break_id_t bp_id = m_break_ids[idx]; in GetBreakpointAtIndex() local
804 return target_sp->GetBreakpointList().FindBreakpointByID(bp_id); in GetBreakpointAtIndex()
835 lldb::break_id_t bp_id = bkpt->GetID(); in AppendIfUnique() local
836 if (!llvm::is_contained(m_break_ids, bp_id)) in AppendIfUnique()
H A DSBTarget.cpp1092 bool SBTarget::BreakpointDelete(break_id_t bp_id) { in BreakpointDelete() argument
1093 LLDB_INSTRUMENT_VA(this, bp_id); in BreakpointDelete()
1099 result = target_sp->RemoveBreakpointByID(bp_id); in BreakpointDelete()
1105 SBBreakpoint SBTarget::FindBreakpointByID(break_id_t bp_id) { in FindBreakpointByID() argument
1106 LLDB_INSTRUMENT_VA(this, bp_id); in FindBreakpointByID()
1110 if (target_sp && bp_id != LLDB_INVALID_BREAK_ID) { in FindBreakpointByID()
1112 sb_breakpoint = target_sp->GetBreakpointByID(bp_id); in FindBreakpointByID()
1237 BreakpointID bp_id = bp_ids.GetBreakpointIDAtIndex(i); in BreakpointsCreateFromFile() local
1238 new_bps.AppendByID(bp_id.GetBreakpointID()); in BreakpointsCreateFromFile()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DTarget.cpp1129 lldb::break_id_t bp_id = cur_bp_id.GetBreakpointID(); in SerializeBreakpointsToFile() local
1131 if (bp_id != LLDB_INVALID_BREAK_ID) { in SerializeBreakpointsToFile()
1134 insert_result = processed_bkpts.insert(bp_id); in SerializeBreakpointsToFile()
1138 Breakpoint *bp = GetBreakpointByID(bp_id).get(); in SerializeBreakpointsToFile()
1144 bp_id); in SerializeBreakpointsToFile()