#include "Plugins/Process/Utility/ThreadMemory.h"
#include "Plugins/Process/Utility/RegisterContextThreadMemory.h"
#include "lldb/Target/OperatingSystem.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/RegisterContext.h"
#include "lldb/Target/StopInfo.h"
#include "lldb/Target/Unwind.h"
#include <memory>
usingnamespacelldb;
usingnamespacelldb_private;
ThreadMemory::ThreadMemory(Process &process, lldb::tid_t tid,
const ValueObjectSP &thread_info_valobj_sp)
: … { … }
ThreadMemory::ThreadMemory(Process &process, lldb::tid_t tid,
llvm::StringRef name, llvm::StringRef queue,
lldb::addr_t register_data_addr)
: … { … }
ThreadMemory::~ThreadMemory() { … }
void ThreadMemory::WillResume(StateType resume_state) { … }
void ThreadMemory::ClearStackFrames() { … }
RegisterContextSP ThreadMemory::GetRegisterContext() { … }
RegisterContextSP
ThreadMemory::CreateRegisterContextForFrame(StackFrame *frame) { … }
bool ThreadMemory::CalculateStopInfo() { … }
void ThreadMemory::RefreshStateAfterStop() { … }