reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
56 static inline void *getAsVoidPointer(T *P) { return P; } 57 static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); } 59 enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };tools/lldb/source/Plugins/ObjectFile/ELF/ELFHeader.cpp
408 ELFRel::ELFRel() { memset(this, 0, sizeof(ELFRel)); }
tools/lldb/source/Plugins/ObjectFile/ELF/ELFHeader.h328 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; }tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
120 typedef llvm::PointerUnion<ELFRel *, ELFRela *> RelocUnion; 127 reloc = new ELFRel(); 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 *>()) 153 return ELFRel::RelocType32(*rel.reloc.get<ELFRel *>()); 153 return ELFRel::RelocType32(*rel.reloc.get<ELFRel *>()); 159 if (rel.reloc.is<ELFRel *>()) 160 return ELFRel::RelocType64(*rel.reloc.get<ELFRel *>()); 160 return ELFRel::RelocType64(*rel.reloc.get<ELFRel *>()); 166 if (rel.reloc.is<ELFRel *>()) 167 return ELFRel::RelocSymbol32(*rel.reloc.get<ELFRel *>()); 167 return ELFRel::RelocSymbol32(*rel.reloc.get<ELFRel *>()); 173 if (rel.reloc.is<ELFRel *>()) 174 return ELFRel::RelocSymbol64(*rel.reloc.get<ELFRel *>()); 174 return ELFRel::RelocSymbol64(*rel.reloc.get<ELFRel *>()); 180 if (rel.reloc.is<ELFRel *>()) 181 return rel.reloc.get<ELFRel *>()->r_offset; 187 if (rel.reloc.is<ELFRel *>()) 188 return rel.reloc.get<ELFRel *>()->r_offset; 194 if (rel.reloc.is<ELFRel *>()) 201 if (rel.reloc.is<ELFRel *>())