// The operator != checks for exact inequality only (differing section, or // different offset) bool lldb_private::operator!= (const Address& a, const Address& rhs) { return a.GetSection() != rhs.GetSection() || a.GetOffset() != rhs.GetOffset(); }
// The operator == checks for exact equality only (same section, same offset) bool lldb_private::operator== (const Address& a, const Address& rhs) { return a.GetSection() == rhs.GetSection() && a.GetOffset() == rhs.GetOffset(); }
virtual void Translate(Address const& rVirtlAddr, TOffset& rOffset) { rOffset = rVirtlAddr.GetOffset(); }