Beispiel #1
0
// 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();
}
Beispiel #2
0
// 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();
}
Beispiel #3
0
 virtual void            Translate(Address const& rVirtlAddr, TOffset& rOffset)
 { rOffset = rVirtlAddr.GetOffset(); }