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