Home
last modified time | relevance | path

Searched refs:BreakpointID (Results 1 – 16 of 16) 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() function in BreakpointID
22 BreakpointID::~BreakpointID() = default;
31 bool BreakpointID::IsRangeIdentifier(llvm::StringRef str) { in IsRangeIdentifier()
40 bool BreakpointID::IsValidIDExpression(llvm::StringRef str) { in IsValidIDExpression()
41 return BreakpointID::ParseCanonicalReference(str).hasValue(); in IsValidIDExpression()
44 llvm::ArrayRef<llvm::StringRef> BreakpointID::GetRangeSpecifiers() { in GetRangeSpecifiers()
48 void BreakpointID::GetDescription(Stream *s, lldb::DescriptionLevel level) { in GetDescription()
60 void BreakpointID::GetCanonicalReference(Stream *s, break_id_t bp_id, in GetCanonicalReference()
70 llvm::Optional<BreakpointID>
71 BreakpointID::ParseCanonicalReference(llvm::StringRef input) { in ParseCanonicalReference()
[all …]
DBreakpointIDList.cpp30 const BreakpointID &
46 bool BreakpointIDList::AddBreakpointID(BreakpointID bp_id) { in AddBreakpointID()
54 auto bp_id = BreakpointID::ParseCanonicalReference(bp_id_str); in AddBreakpointID()
62 bool BreakpointIDList::FindBreakpointID(BreakpointID &bp_id, in FindBreakpointID()
65 BreakpointID tmp_id = m_breakpoint_ids[i]; in FindBreakpointID()
78 auto bp_id = BreakpointID::ParseCanonicalReference(bp_id_str); in FindBreakpointID()
91 auto bp_id = BreakpointID::ParseCanonicalReference(str); in InsertStringArray()
140 } else if (BreakpointID::StringIsBreakpointName(current_arg, error)) { in FindAndReplaceIDRanges()
149 BreakpointID::IsRangeIdentifier(old_args[i + 1].ref()) && in FindAndReplaceIDRanges()
150 BreakpointID::IsValidIDExpression(current_arg) && in FindAndReplaceIDRanges()
[all …]
DCMakeLists.txt3 BreakpointID.cpp
DBreakpointList.cpp140 if (!BreakpointID::StringIsBreakpointName(llvm::StringRef(name), error)) in FindBreakpointsByName()
DBreakpointLocation.cpp494 BreakpointID::GetCanonicalReference(s, m_owner.GetID(), GetID()); in GetDescription()
/external/llvm-project/lldb/unittests/Breakpoint/
DBreakpointIDTest.cpp21 EXPECT_FALSE(BreakpointID::StringIsBreakpointName("1breakpoint", E)); in TEST()
22 EXPECT_FALSE(BreakpointID::StringIsBreakpointName("-", E)); in TEST()
23 EXPECT_FALSE(BreakpointID::StringIsBreakpointName("", E)); in TEST()
24 EXPECT_FALSE(BreakpointID::StringIsBreakpointName("3.4", E)); in TEST()
26 EXPECT_TRUE(BreakpointID::StringIsBreakpointName("_", E)); in TEST()
27 EXPECT_TRUE(BreakpointID::StringIsBreakpointName("a123", E)); in TEST()
28 EXPECT_TRUE(BreakpointID::StringIsBreakpointName("test", E)); in TEST()
/external/llvm-project/lldb/include/lldb/Breakpoint/
DBreakpointIDList.h28 typedef std::vector<BreakpointID> BreakpointIDArray;
36 const BreakpointID &GetBreakpointIDAtIndex(size_t index) const;
42 bool AddBreakpointID(BreakpointID bp_id);
47 bool FindBreakpointID(BreakpointID &bp_id, size_t *position) const;
69 BreakpointID m_invalid_id;
DBreakpointID.h22 class BreakpointID {
24 BreakpointID(lldb::break_id_t bp_id = LLDB_INVALID_BREAK_ID,
27 virtual ~BreakpointID();
60 static llvm::Optional<BreakpointID>
/external/llvm-project/lldb/source/Commands/
DCommandObjectBreakpointCommand.cpp392 BreakpointID cur_bp_id = valid_bp_ids.GetBreakpointIDAtIndex(i); in DoExecute()
564 BreakpointID cur_bp_id = valid_bp_ids.GetBreakpointIDAtIndex(i); in DoExecute()
647 BreakpointID cur_bp_id = valid_bp_ids.GetBreakpointIDAtIndex(i); in DoExecute()
666 BreakpointID::GetCanonicalReference(&id_str, in DoExecute()
DCommandObjectBreakpoint.cpp397 if (BreakpointID::StringIsBreakpointName(option_arg, error)) in SetOptionValue()
864 BreakpointID cur_bp_id = valid_bp_ids.GetBreakpointIDAtIndex(i); in DoExecute()
956 BreakpointID cur_bp_id = valid_bp_ids.GetBreakpointIDAtIndex(i); in DoExecute()
1071 BreakpointID cur_bp_id = valid_bp_ids.GetBreakpointIDAtIndex(i); in DoExecute()
1226 BreakpointID cur_bp_id = valid_bp_ids.GetBreakpointIDAtIndex(i); in DoExecute()
1517 BreakpointID bp_id(breakpoint_sp->GetID()); in DoExecute()
1539 BreakpointID cur_bp_id = valid_bp_ids.GetBreakpointIDAtIndex(i); in DoExecute()
1595 if (BreakpointID::StringIsBreakpointName(option_arg, error) && in SetOptionValue()
1751 if (!BreakpointID::StringIsBreakpointName(entry.ref(), error)) { in DoExecute()
2108 if (!BreakpointID::StringIsBreakpointName(llvm::StringRef(option_arg), in SetOptionValue()
[all …]
DOptions.td239 Arg<"BreakpointID">, Desc<"Specify a breakpoint ID to use.">;
/external/llvm-project/lldb/include/lldb/
Dlldb-forward.h32 class BreakpointID; variable
/external/llvm-project/lldb/source/Target/
DTarget.cpp662 void Target::AddNameToBreakpoint(BreakpointID &id, const char *name, in AddNameToBreakpoint()
694 BreakpointID::StringIsBreakpointName(name.GetStringRef(), error); in FindBreakpointName()
1042 BreakpointID cur_bp_id = bp_ids.GetBreakpointIDAtIndex(i); in SerializeBreakpointsToFile()
1128 new_bps.AddBreakpointID(BreakpointID(bkpt_sp->GetID())); in CreateBreakpointsFromFile()
/external/llvm-project/lldb/include/lldb/Target/
DTarget.h710 void AddNameToBreakpoint(BreakpointID &id, const char *name, Status &error);
/external/llvm-project/lldb/source/API/
DSBBreakpoint.cpp894 bp_list.AddBreakpointID(BreakpointID(id)); in CopyToBreakpointIDList()
DSBTarget.cpp1319 BreakpointID bp_id = bp_ids.GetBreakpointIDAtIndex(i); in BreakpointsCreateFromFile()