LLDB mainline
|
#include <ThreadElfCore.h>
Public Member Functions | |
ELFLinuxPrStatus () | |
lldb_private::Status | Parse (const lldb_private::DataExtractor &data, const lldb_private::ArchSpec &arch) |
Static Public Member Functions | |
static std::optional< ELFLinuxPrStatus > | Populate (const lldb::ThreadSP &thread_sp) |
static size_t | GetSize (const lldb_private::ArchSpec &arch) |
Public Attributes | |
int32_t | si_signo |
int32_t | si_code |
int32_t | si_errno |
int16_t | pr_cursig |
uint64_t | pr_sigpend |
uint64_t | pr_sighold |
uint32_t | pr_pid |
uint32_t | pr_ppid |
uint32_t | pr_pgrp |
uint32_t | pr_sid |
compat_timeval | pr_utime |
compat_timeval | pr_stime |
compat_timeval | pr_cutime |
compat_timeval | pr_cstime |
Definition at line 39 of file ThreadElfCore.h.
ELFLinuxPrStatus::ELFLinuxPrStatus | ( | ) |
Definition at line 249 of file ThreadElfCore.cpp.
Referenced by GetSize().
|
static |
Definition at line 253 of file ThreadElfCore.cpp.
References lldb_private::ArchSpec::eCore_x86_32_i386, lldb_private::ArchSpec::eCore_x86_32_i486, ELFLinuxPrStatus(), lldb_private::ArchSpec::GetAddressByteSize(), lldb_private::ArchSpec::GetCore(), lldb_private::ArchSpec::GetTargetABI(), and lldb_private::ArchSpec::IsMIPS().
Referenced by Parse(), and ProcessElfCore::parseLinuxNotes().
Status ELFLinuxPrStatus::Parse | ( | const lldb_private::DataExtractor & | data, |
const lldb_private::ArchSpec & | arch | ||
) |
Definition at line 279 of file ThreadElfCore.cpp.
References error(), lldb_private::DataExtractor::GetAddress(), lldb_private::DataExtractor::GetByteSize(), GetSize(), lldb_private::DataExtractor::GetU16(), lldb_private::DataExtractor::GetU32(), pr_cstime, pr_cursig, pr_cutime, pr_pgrp, pr_pid, pr_ppid, pr_sid, pr_sighold, pr_sigpend, pr_stime, pr_utime, si_code, si_errno, si_signo, compat_timeval::tv_sec, and compat_timeval::tv_usec.
Referenced by ProcessElfCore::parseLinuxNotes().
|
static |
Definition at line 330 of file ThreadElfCore.cpp.
References copy_timespecs(), lldb_private::ProcessInstanceInfo::GetCumulativeSystemTime(), lldb_private::ProcessInstanceInfo::GetCumulativeUserTime(), lldb_private::ProcessInstanceInfo::GetParentProcessID(), lldb_private::ProcessInstanceInfo::GetProcessGroupID(), lldb_private::ProcessInstanceInfo::GetProcessSessionID(), lldb_private::ProcessInstanceInfo::GetSystemTime(), lldb_private::ProcessInstanceInfo::GetUserTime(), and pr_pid.
compat_timeval ELFLinuxPrStatus::pr_cstime |
Definition at line 57 of file ThreadElfCore.h.
Referenced by Parse().
int16_t ELFLinuxPrStatus::pr_cursig |
Definition at line 44 of file ThreadElfCore.h.
Referenced by Parse(), and ProcessElfCore::parseLinuxNotes().
compat_timeval ELFLinuxPrStatus::pr_cutime |
Definition at line 56 of file ThreadElfCore.h.
Referenced by Parse().
uint32_t ELFLinuxPrStatus::pr_pgrp |
Definition at line 51 of file ThreadElfCore.h.
Referenced by Parse().
uint32_t ELFLinuxPrStatus::pr_pid |
Definition at line 49 of file ThreadElfCore.h.
Referenced by Parse(), ProcessElfCore::parseLinuxNotes(), and Populate().
uint32_t ELFLinuxPrStatus::pr_ppid |
Definition at line 50 of file ThreadElfCore.h.
Referenced by Parse().
uint32_t ELFLinuxPrStatus::pr_sid |
Definition at line 52 of file ThreadElfCore.h.
Referenced by Parse().
uint64_t ELFLinuxPrStatus::pr_sighold |
Definition at line 47 of file ThreadElfCore.h.
Referenced by Parse().
uint64_t ELFLinuxPrStatus::pr_sigpend |
Definition at line 46 of file ThreadElfCore.h.
Referenced by Parse().
compat_timeval ELFLinuxPrStatus::pr_stime |
Definition at line 55 of file ThreadElfCore.h.
Referenced by Parse().
compat_timeval ELFLinuxPrStatus::pr_utime |
Definition at line 54 of file ThreadElfCore.h.
Referenced by Parse().
int32_t ELFLinuxPrStatus::si_code |
Definition at line 41 of file ThreadElfCore.h.
Referenced by Parse().
int32_t ELFLinuxPrStatus::si_errno |
Definition at line 42 of file ThreadElfCore.h.
Referenced by Parse().
int32_t ELFLinuxPrStatus::si_signo |
Definition at line 40 of file ThreadElfCore.h.
Referenced by Parse().