LLDB mainline
lldb_private::IRMemoryMap::Allocation Struct Reference

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.
lldb::addr_t m_process_start
 The base address of the allocation in the process.
size_t m_size
 The size of the requested allocation.
DataBufferHeap m_data
AllocationPolicy m_policy
 Flags. Keep these grouped together to avoid structure padding.
bool m_leak
uint8_t m_permissions
 The access permissions on the memory in the process.
uint8_t m_alignment
 The alignment of the requested allocation.

Detailed Description

Definition at line 95 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

References Allocation().

Member Function Documentation

◆ operator=()

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

References Allocation().

Member Data Documentation

◆ m_alignment

uint8_t lldb_private::IRMemoryMap::Allocation::m_alignment

The alignment of the requested allocation.

Definition at line 109 of file IRMemoryMap.h.

Referenced by Allocation().

◆ m_data

◆ m_leak

bool lldb_private::IRMemoryMap::Allocation::m_leak

Definition at line 105 of file IRMemoryMap.h.

Referenced by Allocation(), and 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 106 of file IRMemoryMap.h.

Referenced by Allocation().

◆ 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 97 of file IRMemoryMap.h.

Referenced by Allocation(), and 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 documentation for this struct was generated from the following files: