#include "lldb/Breakpoint/WatchpointList.h"
#include "lldb/Breakpoint/Watchpoint.h"
usingnamespacelldb;
usingnamespacelldb_private;
WatchpointList::WatchpointList() = default;
WatchpointList::~WatchpointList() = default;
lldb::watch_id_t WatchpointList::Add(const WatchpointSP &wp_sp, bool notify) { … }
void WatchpointList::Dump(Stream *s) const { … }
void WatchpointList::DumpWithLevel(
Stream *s, lldb::DescriptionLevel description_level) const { … }
const WatchpointSP WatchpointList::FindByAddress(lldb::addr_t addr) const { … }
const WatchpointSP WatchpointList::FindBySpec(std::string spec) const { … }
class WatchpointIDMatches { … };
WatchpointList::wp_collection::iterator
WatchpointList::GetIDIterator(lldb::watch_id_t watch_id) { … }
WatchpointList::wp_collection::const_iterator
WatchpointList::GetIDConstIterator(lldb::watch_id_t watch_id) const { … }
WatchpointSP WatchpointList::FindByID(lldb::watch_id_t watch_id) const { … }
lldb::watch_id_t WatchpointList::FindIDByAddress(lldb::addr_t addr) { … }
lldb::watch_id_t WatchpointList::FindIDBySpec(std::string spec) { … }
WatchpointSP WatchpointList::GetByIndex(uint32_t i) { … }
const WatchpointSP WatchpointList::GetByIndex(uint32_t i) const { … }
std::vector<lldb::watch_id_t> WatchpointList::GetWatchpointIDs() const { … }
bool WatchpointList::Remove(lldb::watch_id_t watch_id, bool notify) { … }
uint32_t WatchpointList::GetHitCount() const { … }
bool WatchpointList::ShouldStop(StoppointCallbackContext *context,
lldb::watch_id_t watch_id) { … }
void WatchpointList::GetDescription(Stream *s, lldb::DescriptionLevel level) { … }
void WatchpointList::SetEnabledAll(bool enabled) { … }
void WatchpointList::RemoveAll(bool notify) { … }
void WatchpointList::GetListMutex(
std::unique_lock<std::recursive_mutex> &lock) { … }