#include "lldb/Breakpoint/WatchpointOptions.h"
#include "lldb/Breakpoint/StoppointCallbackContext.h"
#include "lldb/Core/Value.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/ThreadSpec.h"
#include "lldb/Utility/Stream.h"
#include "lldb/Utility/StringList.h"
usingnamespacelldb;
usingnamespacelldb_private;
bool WatchpointOptions::NullCallback(void *baton,
StoppointCallbackContext *context,
lldb::user_id_t watch_id) { … }
WatchpointOptions::WatchpointOptions()
: … { … }
WatchpointOptions::WatchpointOptions(const WatchpointOptions &rhs)
: … { … }
const WatchpointOptions &WatchpointOptions::
operator=(const WatchpointOptions &rhs) { … }
WatchpointOptions *
WatchpointOptions::CopyOptionsNoCallback(WatchpointOptions &orig) { … }
WatchpointOptions::~WatchpointOptions() = default;
void WatchpointOptions::SetCallback(WatchpointHitCallback callback,
const BatonSP &callback_baton_sp,
bool callback_is_synchronous) { … }
void WatchpointOptions::ClearCallback() { … }
Baton *WatchpointOptions::GetBaton() { … }
const Baton *WatchpointOptions::GetBaton() const { … }
bool WatchpointOptions::InvokeCallback(StoppointCallbackContext *context,
lldb::user_id_t watch_id) { … }
bool WatchpointOptions::HasCallback() { … }
const ThreadSpec *WatchpointOptions::GetThreadSpecNoCreate() const { … }
ThreadSpec *WatchpointOptions::GetThreadSpec() { … }
void WatchpointOptions::SetThreadID(lldb::tid_t thread_id) { … }
void WatchpointOptions::GetCallbackDescription(
Stream *s, lldb::DescriptionLevel level) const { … }
void WatchpointOptions::GetDescription(Stream *s,
lldb::DescriptionLevel level) const { … }
void WatchpointOptions::CommandBaton::GetDescription(
llvm::raw_ostream &s, lldb::DescriptionLevel level,
unsigned indentation) const { … }