Home
last modified time | relevance | path

Searched refs:ELFRel (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h305 struct ELFRel { struct
309 ELFRel(); argument
328 static unsigned RelocType32(const ELFRel &rel) { return rel.r_info & 0x0ff; } in RelocType32() argument
331 static unsigned RelocType64(const ELFRel &rel) { in RelocType64() argument
337 static unsigned RelocSymbol32(const ELFRel &rel) { return rel.r_info >> 8; } in RelocSymbol32() argument
341 static unsigned RelocSymbol64(const ELFRel &rel) { return rel.r_info >> 32; } in RelocSymbol64() argument
H A DELFHeader.cpp414 ELFRel::ELFRel() { memset(this, 0, sizeof(ELFRel)); } in ELFRel() function in ELFRel
416 bool ELFRel::Parse(const lldb_private::DataExtractor &data, in Parse()
H A DObjectFileELF.cpp128 typedef llvm::PointerUnion<ELFRel *, ELFRela *> RelocUnion;
136 reloc = new ELFRel(); in ELFRelocation()
141 reloc = static_cast<ELFRel *>(nullptr); in ELFRelocation()
146 if (reloc.is<ELFRel *>()) in ~ELFRelocation()
147 delete reloc.get<ELFRel *>(); in ~ELFRelocation()
154 if (reloc.is<ELFRel *>()) in Parse()
155 return reloc.get<ELFRel *>()->Parse(data, offset); in Parse()
161 if (rel.reloc.is<ELFRel *>()) in RelocType32()
162 return ELFRel::RelocType32(*rel.reloc.get<ELFRel *>()); in RelocType32()
168 if (rel.reloc.is<ELFRel *>()) in RelocType64()
[all …]