A ThreadSnapshot of a thread on an iOS system. More...
#include "snapshot/ios/thread_snapshot_ios_intermediate_dump.h"
Public Member Functions | |
ThreadSnapshotIOSIntermediateDump (const ThreadSnapshotIOSIntermediateDump &)=delete | |
ThreadSnapshotIOSIntermediateDump & | operator= (const ThreadSnapshotIOSIntermediateDump &)=delete |
bool | Initialize (const IOSIntermediateDumpMap *thread_data) |
Initializes the object. | |
const CPUContext * | Context () const override |
Returns a CPUContext object corresponding to the thread’s CPU context. | |
const MemorySnapshot * | Stack () const override |
Returns a MemorySnapshot object corresponding to the memory region that contains the thread’s stack, or nullptr if no stack region is available. | |
uint64_t | ThreadID () const override |
Returns the thread’s identifier. | |
std::string | ThreadName () const override |
Returns the thread's name. | |
int | SuspendCount () const override |
Returns the thread’s suspend count. | |
int | Priority () const override |
Returns the thread’s priority. | |
uint64_t | ThreadSpecificDataAddress () const override |
Returns the base address of a region used to store thread-specific data. | |
std::vector< const MemorySnapshot * > | ExtraMemory () const override |
Returns a vector of additional memory blocks that should be included in a minidump. | |
A ThreadSnapshot of a thread on an iOS system.
|
overridevirtual |
Returns a CPUContext object corresponding to the thread’s CPU context.
The caller does not take ownership of this object, it is scoped to the lifetime of the ThreadSnapshot object that it was obtained from.
Implements crashpad::ThreadSnapshot.
|
overridevirtual |
Returns a vector of additional memory blocks that should be included in a minidump.
Implements crashpad::ThreadSnapshot.
bool crashpad::internal::ThreadSnapshotIOSIntermediateDump::Initialize | ( | const IOSIntermediateDumpMap * | thread_data | ) |
Initializes the object.
thread_data The intermediate dump map used to initialize this object.
true
if the snapshot could be created.
|
overridevirtual |
Returns the thread’s priority.
Threads with higher priorities will have higher priority values.
Implements crashpad::ThreadSnapshot.
|
overridevirtual |
Returns a MemorySnapshot object corresponding to the memory region that contains the thread’s stack, or nullptr
if no stack region is available.
The caller does not take ownership of this object, it is scoped to the lifetime of the ThreadSnapshot object that it was obtained from.
Implements crashpad::ThreadSnapshot.
|
overridevirtual |
Returns the thread’s suspend count.
A suspend count of 0
denotes a schedulable (not suspended) thread.
Implements crashpad::ThreadSnapshot.
|
overridevirtual |
Returns the thread’s identifier.
Thread identifiers are at least unique within a process, and may be unique system-wide.
Implements crashpad::ThreadSnapshot.
|
overridevirtual |
Returns the thread's name.
Implements crashpad::ThreadSnapshot.
|
overridevirtual |
Returns the base address of a region used to store thread-specific data.
Implements crashpad::ThreadSnapshot.