示例#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(); }