LLDB mainline
|
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) |
void | SetHighmemAddressableBits (uint32_t highmem_addressing_bits) |
void | SetProcessMasks (lldb_private::Process &process) |
Private Attributes | |
uint32_t | m_low_memory_addr_bits |
uint32_t | m_high_memory_addr_bits |
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 20 of file AddressableBits.h.
|
inline |
Definition at line 22 of file AddressableBits.h.
void AddressableBits::SetAddressableBits | ( | uint32_t | addressing_bits | ) |
When a single value is available for the number of bits.
Definition at line 16 of file AddressableBits.cpp.
References m_high_memory_addr_bits, and m_low_memory_addr_bits.
Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetAddressableBits(), ObjectFileMachO::GetAddressableBits(), and lldb_private::process_gdb_remote::ProcessGDBRemote::SetThreadStopInfo().
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 20 of file AddressableBits.cpp.
References m_high_memory_addr_bits, and m_low_memory_addr_bits.
void AddressableBits::SetHighmemAddressableBits | ( | uint32_t | highmem_addressing_bits | ) |
Definition at line 31 of file AddressableBits.cpp.
References m_high_memory_addr_bits.
Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::SetThreadStopInfo().
void AddressableBits::SetLowmemAddressableBits | ( | uint32_t | lowmem_addressing_bits | ) |
Definition at line 26 of file AddressableBits.cpp.
References m_low_memory_addr_bits.
Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::SetThreadStopInfo().
void AddressableBits::SetProcessMasks | ( | lldb_private::Process & | process | ) |
Definition at line 36 of file AddressableBits.cpp.
References m_high_memory_addr_bits, m_low_memory_addr_bits, lldb_private::Process::SetCodeAddressMask(), lldb_private::Process::SetDataAddressMask(), lldb_private::Process::SetHighmemCodeAddressMask(), and lldb_private::Process::SetHighmemDataAddressMask().
Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::DidLaunchOrAttach(), ProcessMachCore::DoLoadCore(), and lldb_private::process_gdb_remote::ProcessGDBRemote::SetThreadStopInfo().
|
private |
Definition at line 40 of file AddressableBits.h.
Referenced by SetAddressableBits(), SetHighmemAddressableBits(), and SetProcessMasks().
|
private |
Definition at line 39 of file AddressableBits.h.
Referenced by SetAddressableBits(), SetLowmemAddressableBits(), and SetProcessMasks().