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.cpp129 typedef llvm::PointerUnion<ELFRel *, ELFRela *> RelocUnion;
137 reloc = new ELFRel(); in ELFRelocation()
142 reloc = static_cast<ELFRel *>(nullptr); in ELFRelocation()
147 if (auto *elfrel = llvm::dyn_cast<ELFRel *>(reloc)) in ~ELFRelocation()
155 if (auto *elfrel = llvm::dyn_cast<ELFRel *>(reloc)) in Parse()
162 if (auto *elfrel = llvm::dyn_cast<ELFRel *>(rel.reloc)) in RelocType32()
163 return ELFRel::RelocType32(*elfrel); in RelocType32()
169 if (auto *elfrel = llvm::dyn_cast<ELFRel *>(rel.reloc)) in RelocType64()
170 return ELFRel::RelocType64(*elfrel); in RelocType64()
176 if (auto *elfrel = llvm::dyn_cast<ELFRel *>(rel.reloc)) in RelocSymbol32()
[all …]