9#ifndef LLDB_UTILITY_VMRANGE_H
10#define LLDB_UTILITY_VMRANGE_H
13#include "llvm/Support/raw_ostream.h"
33 m_byte_size(end_addr > start_addr ? end_addr - start_addr : 0) {}
53 if (end_addr > base_addr)
82 uint32_t addr_width = 8)
const;
collection::const_iterator const_iterator
static bool ContainsRange(const VMRange::collection &coll, const VMRange &range)
static bool ContainsValue(const VMRange::collection &coll, lldb::addr_t value)
void SetEndAddress(lldb::addr_t end_addr)
lldb::addr_t GetEndAddress() const
bool Contains(const VMRange &range) const
lldb::addr_t GetByteSize() const
void SetByteSize(lldb::addr_t byte_size)
lldb::addr_t GetBaseAddress() const
void Reset(lldb::addr_t start_addr, lldb::addr_t end_addr)
void SetBaseAddress(lldb::addr_t base_addr)
bool Contains(lldb::addr_t addr) const
VMRange(lldb::addr_t start_addr, lldb::addr_t end_addr)
std::vector< VMRange > collection
void Dump(llvm::raw_ostream &s, lldb::addr_t base_addr=0, uint32_t addr_width=8) const
collection::iterator iterator
A class that represents a running process on the host machine.
bool operator<=(const Scalar &lhs, const Scalar &rhs)
bool operator!=(const Address &lhs, const Address &rhs)
bool operator>(const Address &lhs, const Address &rhs)
bool operator==(const Address &lhs, const Address &rhs)
bool operator<(const Address &lhs, const Address &rhs)
bool operator>=(const Scalar &lhs, const Scalar &rhs)