Lines Matching defs:ra
108 auto f = [](const Reloc &ra, const Reloc &rb) {
109 if (ra.type != rb.type)
111 if (ra.pcrel != rb.pcrel)
113 if (ra.length != rb.length)
115 if (ra.offset != rb.offset)
117 if (ra.referent.is<Symbol *>() != rb.referent.is<Symbol *>())
124 if (ra.referent.is<Symbol *>()) {
125 const auto *sa = ra.referent.get<Symbol *>();
132 return sa == sb && ra.addend == rb.addend;
138 return da->value + ra.addend == db->value + rb.addend;
145 isecA = ra.referent.get<InputSection *>();
155 return ra.addend == rb.addend;
158 if (ra.referent.is<Symbol *>())
163 ra.addend == rb.addend;
167 return isecA->getOffset(ra.addend) == isecB->getOffset(rb.addend);
181 auto f = [this](const Reloc &ra, const Reloc &rb) {
183 if (ra.referent == rb.referent)
186 if (ra.referent.is<Symbol *>()) {
190 const auto *da = cast<Defined>(ra.referent.get<Symbol *>());
199 const auto *sa = ra.referent.get<InputSection *>();