Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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.cpp411 ELFRel::ELFRel() { memset(this, 0, sizeof(ELFRel)); } in ELFRel() function in ELFRel
413 bool ELFRel::Parse(const lldb_private::DataExtractor &data, in Parse()
H A DObjectFileELF.cpp133 reloc = new ELFRel(); in ELFRelocation()
143 if (reloc.is<ELFRel *>()) in ~ELFRelocation()
151 if (reloc.is<ELFRel *>()) in Parse()
158 if (rel.reloc.is<ELFRel *>()) in RelocType32()
159 return ELFRel::RelocType32(*rel.reloc.get<ELFRel *>()); in RelocType32()
165 if (rel.reloc.is<ELFRel *>()) in RelocType64()
166 return ELFRel::RelocType64(*rel.reloc.get<ELFRel *>()); in RelocType64()
172 if (rel.reloc.is<ELFRel *>()) in RelocSymbol32()
173 return ELFRel::RelocSymbol32(*rel.reloc.get<ELFRel *>()); in RelocSymbol32()
179 if (rel.reloc.is<ELFRel *>()) in RelocSymbol64()
[all …]