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

Public Member Functions

 EntityResultVariable (const CompilerType &type, bool is_program_reference, bool keep_in_memory, Materializer::PersistentVariableDelegate *delegate)
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

CompilerType m_type
bool m_is_program_reference
bool m_keep_in_memory
lldb::addr_t m_temporary_allocation = LLDB_INVALID_ADDRESS
size_t m_temporary_allocation_size = 0

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 909 of file Materializer.cpp.

Constructor & Destructor Documentation

◆ EntityResultVariable()

EntityResultVariable::EntityResultVariable ( const CompilerType type,
bool  is_program_reference,
bool  keep_in_memory,
Materializer::PersistentVariableDelegate delegate 

Definition at line 911 of file Materializer.cpp.

References g_default_var_alignment, and g_default_var_byte_size.

Member Function Documentation

◆ Dematerialize()

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

◆ DumpToLog()

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

◆ Materialize()

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

◆ Wipe()

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

Member Data Documentation

◆ m_delegate

Materializer::PersistentVariableDelegate* EntityResultVariable::m_delegate

Definition at line 1176 of file Materializer.cpp.

◆ m_is_program_reference

bool EntityResultVariable::m_is_program_reference

Definition at line 1171 of file Materializer.cpp.

◆ m_keep_in_memory

bool EntityResultVariable::m_keep_in_memory

Definition at line 1172 of file Materializer.cpp.

◆ m_temporary_allocation

lldb::addr_t EntityResultVariable::m_temporary_allocation = LLDB_INVALID_ADDRESS

Definition at line 1174 of file Materializer.cpp.

◆ m_temporary_allocation_size

size_t EntityResultVariable::m_temporary_allocation_size = 0

Definition at line 1175 of file Materializer.cpp.

◆ m_type

CompilerType EntityResultVariable::m_type

Definition at line 1170 of file Materializer.cpp.

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