LLDB  mainline
Public Member Functions | Private Attributes | List of all members
EntityPersistentVariable Class Reference
Inheritance diagram for EntityPersistentVariable:
Inheritance graph
Collaboration diagram for EntityPersistentVariable:
Collaboration graph

Public Member Functions

 EntityPersistentVariable (lldb::ExpressionVariableSP &persistent_variable_sp, Materializer::PersistentVariableDelegate *delegate)
void MakeAllocation (IRMemoryMap &map, Status &err)
void DestroyAllocation (IRMemoryMap &map, Status &err)
void Materialize (lldb::StackFrameSP &frame_sp, IRMemoryMap &map, lldb::addr_t process_address, Status &err) override
void Dematerialize (lldb::StackFrameSP &frame_sp, IRMemoryMap &map, lldb::addr_t process_address, lldb::addr_t frame_top, lldb::addr_t frame_bottom, Status &err) override
void DumpToLog (IRMemoryMap &map, lldb::addr_t process_address, Log *log) override
void Wipe (IRMemoryMap &map, lldb::addr_t process_address) override
- Public Member Functions inherited from lldb_private::Materializer::Entity
 Entity ()=default
virtual ~Entity ()=default
uint32_t GetAlignment ()
uint32_t GetSize ()
uint32_t GetOffset ()
void SetOffset (uint32_t offset)

Private Attributes

lldb::ExpressionVariableSP m_persistent_variable_sp

Additional Inherited Members

- Protected Attributes inherited from lldb_private::Materializer::Entity
uint32_t m_alignment = 1
uint32_t m_size = 0
uint32_t m_offset = 0

Detailed Description

Definition at line 58 of file Materializer.cpp.

Constructor & Destructor Documentation

◆ EntityPersistentVariable()

EntityPersistentVariable::EntityPersistentVariable ( lldb::ExpressionVariableSP &  persistent_variable_sp,
Materializer::PersistentVariableDelegate delegate 

Definition at line 60 of file Materializer.cpp.

References g_default_var_alignment, and g_default_var_byte_size.

Member Function Documentation

◆ Dematerialize()

void EntityPersistentVariable::Dematerialize ( lldb::StackFrameSP &  frame_sp,
IRMemoryMap map,
lldb::addr_t  process_address,
lldb::addr_t  frame_top,
lldb::addr_t  frame_bottom,
Status err 

◆ DestroyAllocation()

void EntityPersistentVariable::DestroyAllocation ( IRMemoryMap map,
Status err 

◆ DumpToLog()

void EntityPersistentVariable::DumpToLog ( IRMemoryMap map,
lldb::addr_t  process_address,
Log log 

◆ MakeAllocation()

void EntityPersistentVariable::MakeAllocation ( IRMemoryMap map,
Status err 

◆ Materialize()

void EntityPersistentVariable::Materialize ( lldb::StackFrameSP &  frame_sp,
IRMemoryMap map,
lldb::addr_t  process_address,
Status err 

◆ Wipe()

void EntityPersistentVariable::Wipe ( IRMemoryMap map,
lldb::addr_t  process_address 

Implements lldb_private::Materializer::Entity.

Definition at line 406 of file Materializer.cpp.

Member Data Documentation

◆ m_delegate

Materializer::PersistentVariableDelegate* EntityPersistentVariable::m_delegate

Definition at line 410 of file Materializer.cpp.

◆ m_persistent_variable_sp

lldb::ExpressionVariableSP EntityPersistentVariable::m_persistent_variable_sp

Definition at line 409 of file Materializer.cpp.

The documentation for this class was generated from the following file: