LLDB mainline
|
#include <BreakpointIDList.h>
Public Types | |
typedef std::vector< BreakpointID > | BreakpointIDArray |
Public Member Functions | |
BreakpointIDList () | |
virtual | ~BreakpointIDList () |
size_t | GetSize () const |
BreakpointID | GetBreakpointIDAtIndex (size_t index) const |
bool | RemoveBreakpointIDAtIndex (size_t index) |
void | Clear () |
bool | AddBreakpointID (BreakpointID bp_id) |
bool | Contains (BreakpointID bp_id) const |
Static Public Member Functions | |
static std::pair< llvm::StringRef, llvm::StringRef > | SplitIDRangeExpression (llvm::StringRef in_string) |
static llvm::Error | FindAndReplaceIDRanges (Args &old_args, Target *target, bool allow_locations, BreakpointName::Permissions ::PermissionKinds purpose, Args &new_args) |
Private Member Functions | |
BreakpointIDList (const BreakpointIDList &)=delete | |
const BreakpointIDList & | operator= (const BreakpointIDList &)=delete |
Private Attributes | |
BreakpointIDArray | m_breakpoint_ids |
Definition at line 26 of file BreakpointIDList.h.
typedef std::vector<BreakpointID> lldb_private::BreakpointIDList::BreakpointIDArray |
Definition at line 29 of file BreakpointIDList.h.
BreakpointIDList::BreakpointIDList | ( | ) |
Definition at line 26 of file BreakpointIDList.cpp.
|
virtualdefault |
|
privatedelete |
bool BreakpointIDList::AddBreakpointID | ( | BreakpointID | bp_id | ) |
Definition at line 47 of file BreakpointIDList.cpp.
References m_breakpoint_ids.
Referenced by SBBreakpointListImpl::CopyToBreakpointIDList(), lldb_private::Target::CreateBreakpointsFromFile(), CommandObjectBreakpointDelete::DoExecute(), CommandObjectProcessContinue::DoExecute(), and lldb_private::CommandObjectMultiwordBreakpoint::VerifyIDs().
void BreakpointIDList::Clear | ( | ) |
Definition at line 45 of file BreakpointIDList.cpp.
References m_breakpoint_ids.
bool BreakpointIDList::Contains | ( | BreakpointID | bp_id | ) | const |
Definition at line 54 of file BreakpointIDList.cpp.
References m_breakpoint_ids.
Referenced by CommandObjectBreakpointDelete::DoExecute(), and CommandObjectProcessContinue::DoExecute().
|
static |
Definition at line 71 of file BreakpointIDList.cpp.
References lldb_private::Args::AppendArgument(), lldb_private::BreakpointList::Breakpoints(), lldb_private::Args::Clear(), error(), lldb_private::Target::FindBreakpointName(), lldb_private::BreakpointList::GetBreakpointAtIndex(), lldb_private::Target::GetBreakpointByID(), lldb_private::Target::GetBreakpointList(), lldb_private::BreakpointID::GetCanonicalReference(), lldb_private::BreakpointLocation::GetID(), lldb_private::Stoppoint::GetID(), lldb_private::Breakpoint::GetLocationAtIndex(), lldb_private::Breakpoint::GetNumLocations(), lldb_private::BreakpointName::GetPermission(), lldb_private::BreakpointList::GetSize(), lldb_private::StreamString::GetString(), lldb_private::BreakpointID::IsRangeIdentifier(), lldb_private::BreakpointID::IsValidIDExpression(), LLDB_INVALID_BREAK_ID, lldb_private::BreakpointID::ParseCanonicalReference(), lldb_private::Args::size(), SplitIDRangeExpression(), and lldb_private::BreakpointID::StringIsBreakpointName().
Referenced by lldb_private::CommandObjectMultiwordBreakpoint::VerifyIDs().
BreakpointID BreakpointIDList::GetBreakpointIDAtIndex | ( | size_t | index | ) | const |
Definition at line 32 of file BreakpointIDList.cpp.
References m_breakpoint_ids.
Referenced by lldb::SBTarget::BreakpointsCreateFromFile(), CommandObjectBreakpointModify::DoExecute(), CommandObjectBreakpointEnable::DoExecute(), CommandObjectBreakpointList::DoExecute(), CommandObjectBreakpointDelete::DoExecute(), CommandObjectBreakpointNameAdd::DoExecute(), CommandObjectBreakpointNameDelete::DoExecute(), CommandObjectBreakpointRead::DoExecute(), CommandObjectBreakpointCommandDelete::DoExecute(), CommandObjectBreakpointCommandList::DoExecute(), CommandObjectProcessContinue::DoExecute(), lldb_private::Target::SerializeBreakpointsToFile(), and lldb_private::CommandObjectMultiwordBreakpoint::VerifyIDs().
size_t BreakpointIDList::GetSize | ( | ) | const |
Definition at line 30 of file BreakpointIDList.cpp.
References m_breakpoint_ids.
Referenced by lldb::SBTarget::BreakpointsCreateFromFile(), CommandObjectBreakpointModify::DoExecute(), CommandObjectBreakpointEnable::DoExecute(), CommandObjectBreakpointList::DoExecute(), CommandObjectBreakpointDelete::DoExecute(), CommandObjectBreakpointNameAdd::DoExecute(), CommandObjectBreakpointNameDelete::DoExecute(), CommandObjectBreakpointRead::DoExecute(), CommandObjectBreakpointCommandDelete::DoExecute(), CommandObjectBreakpointCommandList::DoExecute(), CommandObjectProcessContinue::DoExecute(), lldb_private::Target::SerializeBreakpointsToFile(), and lldb_private::CommandObjectMultiwordBreakpoint::VerifyIDs().
|
privatedelete |
bool BreakpointIDList::RemoveBreakpointIDAtIndex | ( | size_t | index | ) |
Definition at line 37 of file BreakpointIDList.cpp.
References m_breakpoint_ids.
|
static |
Definition at line 277 of file BreakpointIDList.cpp.
References lldb_private::BreakpointID::GetRangeSpecifiers(), and lldb_private::BreakpointID::IsValidIDExpression().
Referenced by FindAndReplaceIDRanges().
|
private |
Definition at line 59 of file BreakpointIDList.h.
Referenced by AddBreakpointID(), Clear(), Contains(), GetBreakpointIDAtIndex(), GetSize(), and RemoveBreakpointIDAtIndex().