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

A class which holds the metadata from a remote stub/corefile note about how many bits are used for addressing on this target. More...

#include "lldb/Core/AddressableBits.h"

Public Member Functions

 AddressableBits ()
 
void SetAddressableBits (uint32_t addressing_bits)
 When a single value is available for the number of bits.
 
void SetAddressableBits (uint32_t lowmem_addressing_bits, uint32_t highmem_addressing_bits)
 When we have separate values for low memory addresses and high memory addresses.
 
void SetLowmemAddressableBits (uint32_t lowmem_addressing_bits)
 
uint32_t GetLowmemAddressableBits () const
 
void SetHighmemAddressableBits (uint32_t highmem_addressing_bits)
 
uint32_t GetHighmemAddressableBits () const
 

Static Public Member Functions

static lldb::addr_t AddressableBitToMask (uint32_t addressable_bits)
 

Private Attributes

uint32_t m_low_memory_addr_bits
 
uint32_t m_high_memory_addr_bits
 

Detailed Description

A class which holds the metadata from a remote stub/corefile note about how many bits are used for addressing on this target.

Definition at line 21 of file AddressableBits.h.

Constructor & Destructor Documentation

◆ AddressableBits()

lldb_private::AddressableBits::AddressableBits ( )
inline

Definition at line 23 of file AddressableBits.h.

Member Function Documentation

◆ AddressableBitToMask()

addr_t AddressableBits::AddressableBitToMask ( uint32_t  addressable_bits)
static

◆ GetHighmemAddressableBits()

uint32_t AddressableBits::GetHighmemAddressableBits ( ) const

◆ GetLowmemAddressableBits()

uint32_t AddressableBits::GetLowmemAddressableBits ( ) const

Definition at line 32 of file AddressableBits.cpp.

References m_low_memory_addr_bits.

Referenced by lldb_private::Process::SetAddressableBitMasks().

◆ SetAddressableBits() [1/2]

void AddressableBits::SetAddressableBits ( uint32_t  addressing_bits)

◆ SetAddressableBits() [2/2]

void AddressableBits::SetAddressableBits ( uint32_t  lowmem_addressing_bits,
uint32_t  highmem_addressing_bits 
)

When we have separate values for low memory addresses and high memory addresses.

Definition at line 21 of file AddressableBits.cpp.

References m_high_memory_addr_bits, and m_low_memory_addr_bits.

◆ SetHighmemAddressableBits()

void AddressableBits::SetHighmemAddressableBits ( uint32_t  highmem_addressing_bits)

◆ SetLowmemAddressableBits()

void AddressableBits::SetLowmemAddressableBits ( uint32_t  lowmem_addressing_bits)

Member Data Documentation

◆ m_high_memory_addr_bits

uint32_t lldb_private::AddressableBits::m_high_memory_addr_bits
private

◆ m_low_memory_addr_bits

uint32_t lldb_private::AddressableBits::m_low_memory_addr_bits
private

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