#include "lldb/Target/ExecutionContext.h"
#include "lldb/Target/ExecutionContextScope.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/StackFrame.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"
#include "lldb/Utility/State.h"
usingnamespacelldb_private;
ExecutionContext::ExecutionContext()
: … { … }
ExecutionContext::ExecutionContext(const ExecutionContext &rhs) = default;
ExecutionContext::ExecutionContext(const lldb::TargetSP &target_sp,
bool get_process)
: … { … }
ExecutionContext::ExecutionContext(const lldb::ProcessSP &process_sp)
: … { … }
ExecutionContext::ExecutionContext(const lldb::ThreadSP &thread_sp)
: … { … }
ExecutionContext::ExecutionContext(const lldb::StackFrameSP &frame_sp)
: … { … }
ExecutionContext::ExecutionContext(const lldb::TargetWP &target_wp,
bool get_process)
: … { … }
ExecutionContext::ExecutionContext(const lldb::ProcessWP &process_wp)
: … { … }
ExecutionContext::ExecutionContext(const lldb::ThreadWP &thread_wp)
: … { … }
ExecutionContext::ExecutionContext(const lldb::StackFrameWP &frame_wp)
: … { … }
ExecutionContext::ExecutionContext(Target *t,
bool fill_current_process_thread_frame)
: … { … }
ExecutionContext::ExecutionContext(Process *process, Thread *thread,
StackFrame *frame)
: … { … }
ExecutionContext::ExecutionContext(const ExecutionContextRef &exe_ctx_ref)
: … { … }
ExecutionContext::ExecutionContext(const ExecutionContextRef *exe_ctx_ref_ptr,
bool thread_and_frame_only_if_stopped)
: … { … }
ExecutionContext::ExecutionContext(const ExecutionContextRef *exe_ctx_ref_ptr,
std::unique_lock<std::recursive_mutex> &lock)
: … { … }
ExecutionContext::ExecutionContext(const ExecutionContextRef &exe_ctx_ref,
std::unique_lock<std::recursive_mutex> &lock)
: … { … }
ExecutionContext::ExecutionContext(ExecutionContextScope *exe_scope_ptr)
: … { … }
ExecutionContext::ExecutionContext(ExecutionContextScope &exe_scope_ref) { … }
void ExecutionContext::Clear() { … }
ExecutionContext::~ExecutionContext() = default;
uint32_t ExecutionContext::GetAddressByteSize() const { … }
lldb::ByteOrder ExecutionContext::GetByteOrder() const { … }
RegisterContext *ExecutionContext::GetRegisterContext() const { … }
Target *ExecutionContext::GetTargetPtr() const { … }
Process *ExecutionContext::GetProcessPtr() const { … }
ExecutionContextScope *ExecutionContext::GetBestExecutionContextScope() const { … }
Target &ExecutionContext::GetTargetRef() const { … }
Process &ExecutionContext::GetProcessRef() const { … }
Thread &ExecutionContext::GetThreadRef() const { … }
StackFrame &ExecutionContext::GetFrameRef() const { … }
void ExecutionContext::SetTargetSP(const lldb::TargetSP &target_sp) { … }
void ExecutionContext::SetProcessSP(const lldb::ProcessSP &process_sp) { … }
void ExecutionContext::SetThreadSP(const lldb::ThreadSP &thread_sp) { … }
void ExecutionContext::SetFrameSP(const lldb::StackFrameSP &frame_sp) { … }
void ExecutionContext::SetTargetPtr(Target *target) { … }
void ExecutionContext::SetProcessPtr(Process *process) { … }
void ExecutionContext::SetThreadPtr(Thread *thread) { … }
void ExecutionContext::SetFramePtr(StackFrame *frame) { … }
void ExecutionContext::SetContext(const lldb::TargetSP &target_sp,
bool get_process) { … }
void ExecutionContext::SetContext(const lldb::ProcessSP &process_sp) { … }
void ExecutionContext::SetContext(const lldb::ThreadSP &thread_sp) { … }
void ExecutionContext::SetContext(const lldb::StackFrameSP &frame_sp) { … }
ExecutionContext &ExecutionContext::operator=(const ExecutionContext &rhs) { … }
bool ExecutionContext::operator==(const ExecutionContext &rhs) const { … }
bool ExecutionContext::operator!=(const ExecutionContext &rhs) const { … }
bool ExecutionContext::HasTargetScope() const { … }
bool ExecutionContext::HasProcessScope() const { … }
bool ExecutionContext::HasThreadScope() const { … }
bool ExecutionContext::HasFrameScope() const { … }
ExecutionContextRef::ExecutionContextRef()
: … { … }
ExecutionContextRef::ExecutionContextRef(const ExecutionContext *exe_ctx)
: … { … }
ExecutionContextRef::ExecutionContextRef(const ExecutionContext &exe_ctx)
: … { … }
ExecutionContextRef::ExecutionContextRef(Target *target, bool adopt_selected)
: … { … }
ExecutionContextRef::ExecutionContextRef(const ExecutionContextRef &rhs)
= default;
ExecutionContextRef &ExecutionContextRef::
operator=(const ExecutionContextRef &rhs) { … }
ExecutionContextRef &ExecutionContextRef::
operator=(const ExecutionContext &exe_ctx) { … }
void ExecutionContextRef::Clear() { … }
ExecutionContextRef::~ExecutionContextRef() = default;
void ExecutionContextRef::SetTargetSP(const lldb::TargetSP &target_sp) { … }
void ExecutionContextRef::SetProcessSP(const lldb::ProcessSP &process_sp) { … }
void ExecutionContextRef::SetThreadSP(const lldb::ThreadSP &thread_sp) { … }
void ExecutionContextRef::SetFrameSP(const lldb::StackFrameSP &frame_sp) { … }
void ExecutionContextRef::SetTargetPtr(Target *target, bool adopt_selected) { … }
void ExecutionContextRef::SetProcessPtr(Process *process) { … }
void ExecutionContextRef::SetThreadPtr(Thread *thread) { … }
void ExecutionContextRef::SetFramePtr(StackFrame *frame) { … }
lldb::TargetSP ExecutionContextRef::GetTargetSP() const { … }
lldb::ProcessSP ExecutionContextRef::GetProcessSP() const { … }
lldb::ThreadSP ExecutionContextRef::GetThreadSP() const { … }
lldb::StackFrameSP ExecutionContextRef::GetFrameSP() const { … }
ExecutionContext
ExecutionContextRef::Lock(bool thread_and_frame_only_if_stopped) const { … }