Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h346 struct ELFRela { struct
351 ELFRela(); argument
370 static unsigned RelocType32(const ELFRela &rela) { in RelocType32() argument
375 static unsigned RelocType64(const ELFRela &rela) { in RelocType64() argument
381 static unsigned RelocSymbol32(const ELFRela &rela) { in RelocSymbol32() argument
387 static unsigned RelocSymbol64(const ELFRela &rela) { in RelocSymbol64() argument
H A DELFHeader.cpp426 ELFRela::ELFRela() { memset(this, 0, sizeof(ELFRela)); } in ELFRela() function in ELFRela
428 bool ELFRela::Parse(const lldb_private::DataExtractor &data, in Parse()
H A DObjectFileELF.cpp125 bool IsRela() { return (reloc.is<ELFRela *>()); } in IsRela()
128 typedef llvm::PointerUnion<ELFRel *, ELFRela *> RelocUnion;
138 reloc = new ELFRela(); in ELFRelocation()
149 delete reloc.get<ELFRela *>(); in ~ELFRelocation()
157 return reloc.get<ELFRela *>()->Parse(data, offset); in Parse()
164 return ELFRela::RelocType32(*rel.reloc.get<ELFRela *>()); in RelocType32()
171 return ELFRela::RelocType64(*rel.reloc.get<ELFRela *>()); in RelocType64()
178 return ELFRela::RelocSymbol32(*rel.reloc.get<ELFRela *>()); in RelocSymbol32()
185 return ELFRela::RelocSymbol64(*rel.reloc.get<ELFRela *>()); in RelocSymbol64()
192 return rel.reloc.get<ELFRela *>()->r_offset; in RelocOffset32()
[all …]