Lines Matching refs:reloc
125 bool IsRela() { return (reloc.is<ELFRela *>()); } in IsRela()
130 RelocUnion reloc; member in __anon6856d08e0111::ELFRelocation
136 reloc = new ELFRel(); in ELFRelocation()
138 reloc = new ELFRela(); in ELFRelocation()
141 reloc = static_cast<ELFRel *>(nullptr); in ELFRelocation()
146 if (reloc.is<ELFRel *>()) in ~ELFRelocation()
147 delete reloc.get<ELFRel *>(); in ~ELFRelocation()
149 delete reloc.get<ELFRela *>(); in ~ELFRelocation()
154 if (reloc.is<ELFRel *>()) in Parse()
155 return reloc.get<ELFRel *>()->Parse(data, offset); in Parse()
157 return reloc.get<ELFRela *>()->Parse(data, offset); in Parse()
161 if (rel.reloc.is<ELFRel *>()) in RelocType32()
162 return ELFRel::RelocType32(*rel.reloc.get<ELFRel *>()); in RelocType32()
164 return ELFRela::RelocType32(*rel.reloc.get<ELFRela *>()); in RelocType32()
168 if (rel.reloc.is<ELFRel *>()) in RelocType64()
169 return ELFRel::RelocType64(*rel.reloc.get<ELFRel *>()); in RelocType64()
171 return ELFRela::RelocType64(*rel.reloc.get<ELFRela *>()); in RelocType64()
175 if (rel.reloc.is<ELFRel *>()) in RelocSymbol32()
176 return ELFRel::RelocSymbol32(*rel.reloc.get<ELFRel *>()); in RelocSymbol32()
178 return ELFRela::RelocSymbol32(*rel.reloc.get<ELFRela *>()); in RelocSymbol32()
182 if (rel.reloc.is<ELFRel *>()) in RelocSymbol64()
183 return ELFRel::RelocSymbol64(*rel.reloc.get<ELFRel *>()); in RelocSymbol64()
185 return ELFRela::RelocSymbol64(*rel.reloc.get<ELFRela *>()); in RelocSymbol64()
189 if (rel.reloc.is<ELFRel *>()) in RelocOffset32()
190 return rel.reloc.get<ELFRel *>()->r_offset; in RelocOffset32()
192 return rel.reloc.get<ELFRela *>()->r_offset; in RelocOffset32()
196 if (rel.reloc.is<ELFRel *>()) in RelocOffset64()
197 return rel.reloc.get<ELFRel *>()->r_offset; in RelocOffset64()
199 return rel.reloc.get<ELFRela *>()->r_offset; in RelocOffset64()
203 if (rel.reloc.is<ELFRel *>()) in RelocAddend32()
206 return rel.reloc.get<ELFRela *>()->r_addend; in RelocAddend32()
210 if (rel.reloc.is<ELFRel *>()) in RelocAddend64()
213 return rel.reloc.get<ELFRela *>()->r_addend; in RelocAddend64()