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.cpp126 bool IsRela() { return (llvm::isa<ELFRela *>(reloc)); } in IsRela()
129 typedef llvm::PointerUnion<ELFRel *, ELFRela *> RelocUnion;
139 reloc = new ELFRela(); in ELFRelocation()
150 delete llvm::cast<ELFRela *>(reloc); in ~ELFRelocation()
158 return llvm::cast<ELFRela *>(reloc)->Parse(data, offset); in Parse()
165 return ELFRela::RelocType32(*llvm::cast<ELFRela *>(rel.reloc)); in RelocType32()
172 return ELFRela::RelocType64(*llvm::cast<ELFRela *>(rel.reloc)); in RelocType64()
179 return ELFRela::RelocSymbol32(*llvm::cast<ELFRela *>(rel.reloc)); in RelocSymbol32()
186 return ELFRela::RelocSymbol64(*llvm::cast<ELFRela *>(rel.reloc)); in RelocSymbol64()
193 return llvm::cast<ELFRela *>(rel.reloc)->r_offset; in RelocOffset32()
[all …]