Home
last modified time | relevance | path

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

/external/llvm-project/lldb/source/Breakpoint/
DBreakpointID.cpp19 BreakpointID::BreakpointID(break_id_t bp_id, break_id_t loc_id) in BreakpointID() argument
20 : m_break_id(bp_id), m_location_id(loc_id) {} in BreakpointID()
60 void BreakpointID::GetCanonicalReference(Stream *s, break_id_t bp_id, in GetCanonicalReference() argument
62 if (bp_id == LLDB_INVALID_BREAK_ID) in GetCanonicalReference()
65 s->Printf("%i", bp_id); in GetCanonicalReference()
67 s->Printf("%i.%i", bp_id, loc_id); in GetCanonicalReference()
72 break_id_t bp_id; in ParseCanonicalReference() local
79 if (input.consumeInteger(0, bp_id)) in ParseCanonicalReference()
92 return BreakpointID(bp_id, loc_id); in ParseCanonicalReference()
DBreakpointIDList.cpp46 bool BreakpointIDList::AddBreakpointID(BreakpointID bp_id) { in AddBreakpointID() argument
47 m_breakpoint_ids.push_back(bp_id); in AddBreakpointID()
54 auto bp_id = BreakpointID::ParseCanonicalReference(bp_id_str); in AddBreakpointID() local
55 if (!bp_id.hasValue()) in AddBreakpointID()
58 m_breakpoint_ids.push_back(*bp_id); in AddBreakpointID()
62 bool BreakpointIDList::FindBreakpointID(BreakpointID &bp_id, in FindBreakpointID() argument
66 if (tmp_id.GetBreakpointID() == bp_id.GetBreakpointID() && in FindBreakpointID()
67 tmp_id.GetLocationID() == bp_id.GetLocationID()) { in FindBreakpointID()
78 auto bp_id = BreakpointID::ParseCanonicalReference(bp_id_str); in FindBreakpointID() local
79 if (!bp_id.hasValue()) in FindBreakpointID()
[all …]
DBreakpointLocationCollection.cpp34 bool BreakpointLocationCollection::Remove(lldb::break_id_t bp_id, in Remove() argument
37 collection::iterator pos = GetIDPairIterator(bp_id, bp_loc_id); // Predicate in Remove()
DBreakpointSite.cpp64 bool BreakpointSite::IsBreakpointAtThisSite(lldb::break_id_t bp_id) { in IsBreakpointAtThisSite() argument
68 if (m_owners.GetByIndex(i)->GetBreakpoint().GetID() == bp_id) in IsBreakpointAtThisSite()
DBreakpointSiteList.cpp142 lldb::break_id_t bp_site_id, lldb::break_id_t bp_id) { in BreakpointSiteContainsBreakpoint() argument
146 return pos->second->IsBreakpointAtThisSite(bp_id); in BreakpointSiteContainsBreakpoint()
/external/llvm-project/lldb/include/lldb/Breakpoint/
DBreakpointID.h24 BreakpointID(lldb::break_id_t bp_id = LLDB_INVALID_BREAK_ID,
33 void SetID(lldb::break_id_t bp_id, lldb::break_id_t loc_id) { in SetID() argument
34 m_break_id = bp_id; in SetID()
38 void SetBreakpointID(lldb::break_id_t bp_id) { m_break_id = bp_id; } in SetBreakpointID() argument
DBreakpointIDList.h42 bool AddBreakpointID(BreakpointID bp_id);
44 bool AddBreakpointID(const char *bp_id);
47 bool FindBreakpointID(BreakpointID &bp_id, size_t *position) const;
49 bool FindBreakpointID(const char *bp_id, size_t *position) const;
DBreakpointSiteList.h105 lldb::break_id_t bp_id);
DBreakpointSite.h176 bool IsBreakpointAtThisSite(lldb::break_id_t bp_id);
/external/llvm-project/lldb/test/API/tools/lldb-vscode/breakpoint/
DTestVSCode_setFunctionBreakpoints.py72 bp_id = breakpoint['id']
73 self.assertEquals(bp_id, bp_id_12,
88 bp_id = breakpoint['id']
89 self.assertEquals(bp_id, bp_id_12,
/external/llvm-project/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/write_memory_with_hw_breakpoint/
DTestWriteMemoryWithHWBreakpoint.py37 bp_id = lldbutil.run_break_set_by_symbol(self, "hw_break_function",
41 location = target.FindBreakpointByID(bp_id).GetLocationAtIndex(0)
/external/llvm-project/lldb/examples/python/
Dperformance.py246 bp_id = thread.GetStopReasonDataAtIndex(0)
249 print("breakpoint id = %d.%d" % (bp_id, bp_loc_id))
342 bp_id = thread.GetStopReasonDataAtIndex(0)
344 …print("Breakpoint %i.%i hit: %s" % (bp_id, loc_id, thread.process.target.FindBreakpointByID(bp_id)…
/external/llvm-project/lldb/tools/lldb-vscode/
DVSCode.cpp76 VSCode::GetExceptionBreakpoint(const lldb::break_id_t bp_id) { in GetExceptionBreakpoint() argument
78 if (bp.bp.GetID() == bp_id) in GetExceptionBreakpoint()
256 lldb::break_id_t bp_id = thread.GetStopReasonDataAtIndex(i); in GetExceptionBPFromStopReason() local
257 exc_bp = GetExceptionBreakpoint(bp_id); in GetExceptionBPFromStopReason()
DVSCode.h118 ExceptionBreakpoint *GetExceptionBreakpoint(const lldb::break_id_t bp_id);
DJSONUtils.cpp859 uint64_t bp_id = thread.GetStopReasonDataAtIndex(0); in CreateThreadStopped() local
862 bp_id, bp_loc_id); in CreateThreadStopped()
/external/llvm-project/lldb/packages/Python/lldbsuite/test/
Dlldbinline.py152 for bp_id in self._get_breakpoint_ids(thread):
153 parser.handle_breakpoint(self, bp_id)
/external/llvm-project/lldb/source/Commands/
DCommandObjectBreakpoint.cpp1517 BreakpointID bp_id(breakpoint_sp->GetID()); in DoExecute() local
1519 if (!excluded_bp_ids.FindBreakpointID(bp_id, &pos)) in DoExecute()
1762 lldb::break_id_t bp_id = m_bp_id.m_breakpoint.GetUInt64Value(); in DoExecute() local
1763 bp_sp = target.GetBreakpointByID(bp_id); in DoExecute()
1766 bp_id); in DoExecute()
1870 lldb::break_id_t bp_id = in DoExecute() local
1872 BreakpointSP bp_sp = breakpoints.FindBreakpointByID(bp_id); in DoExecute()
1955 lldb::break_id_t bp_id = in DoExecute() local
1957 BreakpointSP bp_sp = breakpoints.FindBreakpointByID(bp_id); in DoExecute()
2238 BreakpointID bp_id = new_bps.GetBreakpointIDAtIndex(i); in DoExecute() local
[all …]
/external/llvm-project/lldb/source/Plugins/Process/FreeBSD/
DFreeBSDThread.cpp457 lldb::break_id_t bp_id = bp_site->GetID(); in BreakNotify() local
464 SetStopInfo(StopInfo::CreateStopReasonWithBreakpointSiteID(*this, bp_id)); in BreakNotify()
467 SetStopInfo(StopInfo::CreateStopReasonWithBreakpointSiteID(*this, bp_id, in BreakNotify()
DProcessFreeBSD.cpp1006 lldb::break_id_t bp_id = iter->second; in IsSoftwareStepBreakpoint() local
1007 BreakpointSP bp = GetTarget().GetBreakpointByID(bp_id); in IsSoftwareStepBreakpoint()
1015 GetTarget().RemoveBreakpointByID(bp_id); in IsSoftwareStepBreakpoint()
/external/llvm-project/lldb/source/API/
DSBBreakpoint.cpp839 lldb::break_id_t bp_id = m_break_ids[idx]; in GetBreakpointAtIndex() local
840 return target_sp->GetBreakpointList().FindBreakpointByID(bp_id); in GetBreakpointAtIndex()
871 lldb::break_id_t bp_id = bkpt->GetID(); in AppendIfUnique() local
872 if (find(m_break_ids.begin(), m_break_ids.end(), bp_id) == in AppendIfUnique()
DSBTarget.cpp1162 bool SBTarget::BreakpointDelete(break_id_t bp_id) { in BreakpointDelete() argument
1164 bp_id); in BreakpointDelete()
1170 result = target_sp->RemoveBreakpointByID(bp_id); in BreakpointDelete()
1176 SBBreakpoint SBTarget::FindBreakpointByID(break_id_t bp_id) { in FindBreakpointByID() argument
1178 (lldb::break_id_t), bp_id); in FindBreakpointByID()
1182 if (target_sp && bp_id != LLDB_INVALID_BREAK_ID) { in FindBreakpointByID()
1184 sb_breakpoint = target_sp->GetBreakpointByID(bp_id); in FindBreakpointByID()
1319 BreakpointID bp_id = bp_ids.GetBreakpointIDAtIndex(i); in BreakpointsCreateFromFile() local
1320 new_bps.AppendByID(bp_id.GetBreakpointID()); in BreakpointsCreateFromFile()
/external/llvm-project/lldb/source/Target/
DTarget.cpp1043 lldb::break_id_t bp_id = cur_bp_id.GetBreakpointID(); in SerializeBreakpointsToFile() local
1045 if (bp_id != LLDB_INVALID_BREAK_ID) { in SerializeBreakpointsToFile()
1048 insert_result = processed_bkpts.insert(bp_id); in SerializeBreakpointsToFile()
1052 Breakpoint *bp = GetBreakpointByID(bp_id).get(); in SerializeBreakpointsToFile()
1058 bp_id); in SerializeBreakpointsToFile()