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

/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h303 /// \class ELFRel
305 struct ELFRel { struct in namespace:elf
309 ELFRel();
311 /// Parse an ELFRel entry from the given DataExtractor starting at position
324 /// True if the ELFRel entry was successfully read and false otherwise.
328 static unsigned RelocType32(const ELFRel &rel) { return rel.r_info & 0x0ff; }
331 static unsigned RelocType64(const ELFRel &rel) {
337 static unsigned RelocSymbol32(const ELFRel &rel) { return rel.r_info >> 8; }
341 static unsigned RelocSymbol64(const ELFRel &rel) { return rel.r_info >> 32; }
H A DELFHeader.cpp406 // ELFRel
408 ELFRel::ELFRel() { memset(this, 0, sizeof(ELFRel)); } function in class:ELFRel
410 bool ELFRel::Parse(const lldb_private::DataExtractor &data,
H A DObjectFileELF.cpp87 /// Generic wrapper for ELFRel and ELFRela.
89 /// This helper class allows us to parse both ELFRel and ELFRela relocation
120 typedef llvm::PointerUnion<ELFRel *, ELFRela *> RelocUnion;
127 reloc = new ELFRel();
132 reloc = static_cast<ELFRel *>(nullptr);
137 if (reloc.is<ELFRel *>())
138 delete reloc.get<ELFRel *>();
145 if (reloc.is<ELFRel *>())
146 return reloc.get<ELFRel *>()->Parse(data, offset);
152 if (rel.reloc.is<ELFRel *>())
[all...]

Completed in 52 milliseconds