LLDB  mainline
Public Member Functions | Public Attributes | List of all members
lldb_private::IRMemoryMap::Allocation Struct Reference
Collaboration diagram for lldb_private::IRMemoryMap::Allocation:
Collaboration graph
[legend]

Public Member Functions

 Allocation (lldb::addr_t process_alloc, lldb::addr_t process_start, size_t size, uint32_t permissions, uint8_t alignment, AllocationPolicy m_policy)
 
 Allocation (const Allocation &)=delete
 
const Allocationoperator= (const Allocation &)=delete
 

Public Attributes

lldb::addr_t m_process_alloc
 The (unaligned) base for the remote allocation. More...
 
lldb::addr_t m_process_start
 The base address of the allocation in the process. More...
 
size_t m_size
 The size of the requested allocation. More...
 
DataBufferHeap m_data
 
AllocationPolicy m_policy
 Flags. Keep these grouped together to avoid structure padding. More...
 
bool m_leak
 
uint8_t m_permissions
 The access permissions on the memory in the process. More...
 
uint8_t m_alignment
 The alignment of the requested allocation. More...
 

Detailed Description

Definition at line 89 of file IRMemoryMap.h.

Constructor & Destructor Documentation

◆ Allocation() [1/2]

IRMemoryMap::Allocation::Allocation ( lldb::addr_t  process_alloc,
lldb::addr_t  process_start,
size_t  size,
uint32_t  permissions,
uint8_t  alignment,
AllocationPolicy  m_policy 
)

◆ Allocation() [2/2]

lldb_private::IRMemoryMap::Allocation::Allocation ( const Allocation )
delete

Member Function Documentation

◆ operator=()

const Allocation& lldb_private::IRMemoryMap::Allocation::operator= ( const Allocation )
delete

Member Data Documentation

◆ m_alignment

uint8_t lldb_private::IRMemoryMap::Allocation::m_alignment

The alignment of the requested allocation.

Definition at line 103 of file IRMemoryMap.h.

◆ m_data

DataBufferHeap lldb_private::IRMemoryMap::Allocation::m_data

◆ m_leak

bool lldb_private::IRMemoryMap::Allocation::m_leak

Definition at line 99 of file IRMemoryMap.h.

Referenced by lldb_private::IRMemoryMap::Leak().

◆ m_permissions

uint8_t lldb_private::IRMemoryMap::Allocation::m_permissions

The access permissions on the memory in the process.

In the host, the memory is always read/write.

Definition at line 100 of file IRMemoryMap.h.

◆ m_policy

AllocationPolicy lldb_private::IRMemoryMap::Allocation::m_policy

◆ m_process_alloc

lldb::addr_t lldb_private::IRMemoryMap::Allocation::m_process_alloc

The (unaligned) base for the remote allocation.

Definition at line 91 of file IRMemoryMap.h.

Referenced by lldb_private::IRMemoryMap::Free().

◆ m_process_start

lldb::addr_t lldb_private::IRMemoryMap::Allocation::m_process_start

◆ m_size

size_t lldb_private::IRMemoryMap::Allocation::m_size

The size of the requested allocation.

Definition at line 94 of file IRMemoryMap.h.

Referenced by lldb_private::IRMemoryMap::GetAllocSize(), lldb_private::IRMemoryMap::ReadMemory(), and lldb_private::IRMemoryMap::WriteMemory().


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