9#ifndef LLDB_SOURCE_PLUGINS_PROCESS_ELF_CORE_THREADELFCORE_H
10#define LLDB_SOURCE_PLUGINS_PROCESS_ELF_CORE_THREADELFCORE_H
15#include "llvm/ADT/DenseMap.h"
25class ProcessInstanceInfo;
64 static std::optional<ELFLinuxPrStatus>
76 "sizeof ELFLinuxPrStatus is not correct!");
97 "sizeof ELFLinuxSigInfo is not correct!");
123 static std::optional<ELFLinuxPrPsInfo>
126 static std::optional<ELFLinuxPrPsInfo>
139 "sizeof ELFLinuxPrPsInfo is not correct!");
143 std::vector<lldb_private::CoreNote>
notes;
void RefreshStateAfterStop() override
lldb::RegisterContextSP GetRegisterContext() override
~ThreadElfCore() override
std::string m_thread_name
const char * GetName() override
lldb::RegisterContextSP CreateRegisterContextForFrame(lldb_private::StackFrame *frame) override
std::vector< lldb_private::CoreNote > m_notes
lldb::RegisterContextSP m_thread_reg_ctx_sp
lldb_private::DataExtractor m_gpregset_data
bool CalculateStopInfo() override
Ask the thread subclass to set its stop info.
static bool ThreadIDIsValid(lldb::tid_t thread)
void SetName(const char *name) override
An architecture specification class.
A plug-in interface definition class for debugging a process.
This base class provides an interface to stack frames.
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::Thread > ThreadSP
StateType
Process and Thread States.
std::shared_ptr< lldb_private::Process > ProcessSP
std::shared_ptr< lldb_private::RegisterContext > RegisterContextSP
lldb_private::Status Parse(const lldb_private::DataExtractor &data, const lldb_private::ArchSpec &arch)
static size_t GetSize(const lldb_private::ArchSpec &arch)
static std::optional< ELFLinuxPrPsInfo > Populate(const lldb::ProcessSP &process_sp)
static size_t GetSize(const lldb_private::ArchSpec &arch)
lldb_private::Status Parse(const lldb_private::DataExtractor &data, const lldb_private::ArchSpec &arch)
static std::optional< ELFLinuxPrStatus > Populate(const lldb::ThreadSP &thread_sp)
lldb_private::Status Parse(const lldb_private::DataExtractor &data, const lldb_private::ArchSpec &arch)
static size_t GetSize(const lldb_private::ArchSpec &arch)
lldb_private::DataExtractor gpregset
std::vector< lldb_private::CoreNote > notes