LLDB mainline
Public Member Functions | Private Member Functions | Private Attributes | List of all members
lldb_private::ValueObjectConstResultImpl Class Reference

A class wrapping common implementation details for operations in ValueObjectConstResult ( & Child ) that may need to jump from the host memory space into the target's memory space. More...

#include <ValueObjectConstResultImpl.h>

Public Member Functions

 ValueObjectConstResultImpl (ValueObject *valobj, lldb::addr_t live_address=LLDB_INVALID_ADDRESS)
 
virtual ~ValueObjectConstResultImpl ()=default
 
lldb::ValueObjectSP Dereference (Status &error)
 
ValueObjectCreateChildAtIndex (size_t idx)
 
ValueObjectCreateSyntheticArrayMember (size_t idx)
 
lldb::ValueObjectSP GetSyntheticChildAtOffset (uint32_t offset, const CompilerType &type, bool can_create, ConstString name_const_str=ConstString())
 
lldb::ValueObjectSP AddressOf (Status &error)
 
lldb::addr_t GetLiveAddress ()
 
lldb::ValueObjectSP Cast (const CompilerType &compiler_type)
 
void SetLiveAddress (lldb::addr_t addr=LLDB_INVALID_ADDRESS, AddressType address_type=eAddressTypeLoad)
 
virtual lldb::addr_t GetAddressOf (bool scalar_is_load_address=true, AddressType *address_type=nullptr)
 
virtual size_t GetPointeeData (DataExtractor &data, uint32_t item_idx=0, uint32_t item_count=1)
 

Private Member Functions

 ValueObjectConstResultImpl (const ValueObjectConstResultImpl &)=delete
 
const ValueObjectConstResultImploperator= (const ValueObjectConstResultImpl &)=delete
 

Private Attributes

ValueObjectm_impl_backend
 
lldb::addr_t m_live_address
 
AddressType m_live_address_type
 
lldb::ValueObjectSP m_address_of_backend
 

Detailed Description

A class wrapping common implementation details for operations in ValueObjectConstResult ( & Child ) that may need to jump from the host memory space into the target's memory space.

Definition at line 32 of file ValueObjectConstResultImpl.h.

Constructor & Destructor Documentation

◆ ValueObjectConstResultImpl() [1/2]

ValueObjectConstResultImpl::ValueObjectConstResultImpl ( ValueObject valobj,
lldb::addr_t  live_address = LLDB_INVALID_ADDRESS 
)

Definition at line 36 of file ValueObjectConstResultImpl.cpp.

◆ ~ValueObjectConstResultImpl()

virtual lldb_private::ValueObjectConstResultImpl::~ValueObjectConstResultImpl ( )
virtualdefault

◆ ValueObjectConstResultImpl() [2/2]

lldb_private::ValueObjectConstResultImpl::ValueObjectConstResultImpl ( const ValueObjectConstResultImpl )
privatedelete

Member Function Documentation

◆ AddressOf()

lldb::ValueObjectSP ValueObjectConstResultImpl::AddressOf ( Status error)

◆ Cast()

lldb::ValueObjectSP ValueObjectConstResultImpl::Cast ( const CompilerType compiler_type)

◆ CreateChildAtIndex()

ValueObject * ValueObjectConstResultImpl::CreateChildAtIndex ( size_t  idx)

◆ CreateSyntheticArrayMember()

ValueObject * ValueObjectConstResultImpl::CreateSyntheticArrayMember ( size_t  idx)

◆ Dereference()

lldb::ValueObjectSP ValueObjectConstResultImpl::Dereference ( Status error)

◆ GetAddressOf()

lldb::addr_t ValueObjectConstResultImpl::GetAddressOf ( bool  scalar_is_load_address = true,
AddressType address_type = nullptr 
)
virtual

◆ GetLiveAddress()

lldb::addr_t lldb_private::ValueObjectConstResultImpl::GetLiveAddress ( )
inline

◆ GetPointeeData()

size_t ValueObjectConstResultImpl::GetPointeeData ( DataExtractor data,
uint32_t  item_idx = 0,
uint32_t  item_count = 1 
)
virtual

◆ GetSyntheticChildAtOffset()

lldb::ValueObjectSP ValueObjectConstResultImpl::GetSyntheticChildAtOffset ( uint32_t  offset,
const CompilerType type,
bool  can_create,
ConstString  name_const_str = ConstString() 
)

◆ operator=()

const ValueObjectConstResultImpl & lldb_private::ValueObjectConstResultImpl::operator= ( const ValueObjectConstResultImpl )
privatedelete

◆ SetLiveAddress()

void lldb_private::ValueObjectConstResultImpl::SetLiveAddress ( lldb::addr_t  addr = LLDB_INVALID_ADDRESS,
AddressType  address_type = eAddressTypeLoad 
)
inline

Member Data Documentation

◆ m_address_of_backend

lldb::ValueObjectSP lldb_private::ValueObjectConstResultImpl::m_address_of_backend
private

Definition at line 71 of file ValueObjectConstResultImpl.h.

Referenced by AddressOf().

◆ m_impl_backend

ValueObject* lldb_private::ValueObjectConstResultImpl::m_impl_backend
private

◆ m_live_address

lldb::addr_t lldb_private::ValueObjectConstResultImpl::m_live_address
private

◆ m_live_address_type

AddressType lldb_private::ValueObjectConstResultImpl::m_live_address_type
private

Definition at line 70 of file ValueObjectConstResultImpl.h.

Referenced by GetAddressOf(), and SetLiveAddress().


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