예제 #1
0
파일: Address.cpp 프로젝트: carlokok/lldb
// 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();
}
예제 #2
0
파일: Address.cpp 프로젝트: carlokok/lldb
// 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();
}
예제 #3
0
 virtual void            Translate(Address const& rVirtlAddr, TOffset& rOffset)
 { rOffset = rVirtlAddr.GetOffset(); }