Lines Matching refs:Reloc
117 for (const object::RelocationRef &Reloc : Section.relocations()) { in loadObj() local
119 if (Supports && Supports(Reloc.getType())) { in loadObj()
120 Expected<uint64_t> ValueOrErr = Reloc.getSymbol()->getValue(); in loadObj()
124 {Reloc.getOffset(), in loadObj()
125 object::resolveRelocation(Resolver, Reloc, *ValueOrErr, 0)}); in loadObj()
127 } else if (Supports && Supports(Reloc.getType())) { in loadObj()
128 auto AddendOrErr = object::ELFRelocationRef(Reloc).getAddend(); in loadObj()
130 Expected<uint64_t> ValueOrErr = Reloc.getSymbol()->getValue(); in loadObj()
135 {Reloc.getOffset(), in loadObj()
136 object::resolveRelocation(Resolver, Reloc, *ValueOrErr, A)}); in loadObj()
137 } else if (Reloc.getType() == RelativeRelocation) { in loadObj()
138 if (auto AddendOrErr = object::ELFRelocationRef(Reloc).getAddend()) in loadObj()
139 Relocs.insert({Reloc.getOffset(), *AddendOrErr}); in loadObj()