LLDB mainline
|
#include <ProcessStructReader.h>
Classes | |
struct | FieldImpl |
Public Member Functions | |
ProcessStructReader (Process *process, lldb::addr_t base_addr, CompilerType struct_type) | |
template<typename RetType > | |
RetType | GetField (llvm::StringRef name, RetType fail_value=RetType()) |
Protected Attributes | |
llvm::StringMap< FieldImpl > | m_fields |
DataExtractor | m_data |
lldb::ByteOrder | m_byte_order |
size_t | m_addr_byte_size |
Definition at line 28 of file ProcessStructReader.h.
|
inline |
Definition at line 42 of file ProcessStructReader.h.
References error(), lldb_private::Process::GetAddressByteSize(), lldb_private::Process::GetByteOrder(), lldb_private::CompilerType::GetByteSize(), lldb_private::CompilerType::GetFieldAtIndex(), lldb_private::CompilerType::GetNumFields(), LLDB_INVALID_ADDRESS, m_addr_byte_size, m_byte_order, m_data, m_fields, and lldb_private::Process::ReadMemoryFromInferior().
|
inline |
Definition at line 83 of file ProcessStructReader.h.
References lldb_private::DataExtractor::GetByteSize(), lldb_private::DataExtractor::GetMaxU64(), m_data, and m_fields.
Referenced by SystemRuntimeMacOSX::ReadLibdispatchTSDIndexes().
|
protected |
Definition at line 39 of file ProcessStructReader.h.
Referenced by ProcessStructReader().
|
protected |
Definition at line 38 of file ProcessStructReader.h.
Referenced by ProcessStructReader().
|
protected |
Definition at line 37 of file ProcessStructReader.h.
Referenced by GetField(), and ProcessStructReader().
|
protected |
Definition at line 36 of file ProcessStructReader.h.
Referenced by GetField(), and ProcessStructReader().