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