reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
37 void moveSymbolNext(DataRefImpl &Symb) const override { ++Symb.p; } 40 if (Symb.p == 0) 56 Symb.p = isData() ? 1 : 2;include/llvm/Object/ELFObjectFile.h
340 return reinterpret_cast<const Elf_Shdr *>(Sec.p); 345 DRI.p = reinterpret_cast<uintptr_t>(Sec); 351 DRI.p = reinterpret_cast<uintptr_t>(Dyn); 410 return reinterpret_cast<const Elf_Shdr *>(Sec.p); 675 Sec.p = reinterpret_cast<intptr_t>(ESec); 820 RelData.d.a = (Sec.p - SHT) / EF.getHeader()->e_shentsize; 828 const Elf_Shdr *S = reinterpret_cast<const Elf_Shdr *>(Sec.p);include/llvm/Object/MachO.h
694 reinterpret_cast<const MachO::data_in_code_entry *>(DicePimpl.p); 695 DicePimpl.p = reinterpret_cast<uintptr_t>(P + 1);include/llvm/Object/ObjectFile.h
566 TS.p = (uintptr_t)-1; 571 return hash_combine(Raw.p, Raw.d.a, Raw.d.b);include/llvm/Object/SymbolicFile.h
47 OS << "(" << format("0x%08" PRIxPTR, D.p) << " (" << format("0x%08x", D.d.a)
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp116 const_cast<Elf_Shdr *>(reinterpret_cast<const Elf_Shdr *>(ShdrRef.p)); 172 reinterpret_cast<const Elf_Shdr *>(ShdrRef.p));lib/Object/COFFObjectFile.cpp
104 reinterpret_cast<const coff_symbol_type *>(Ref.p); 119 const coff_section *Addr = reinterpret_cast<const coff_section*>(Ref.p); 139 Ref.p = std::min(reinterpret_cast<uintptr_t>(Symb), End); 143 Ref.p = std::min(reinterpret_cast<uintptr_t>(Symb), End); 257 Ret.p = reinterpret_cast<uintptr_t>(Sec); 269 Ref.p = reinterpret_cast<uintptr_t>(Sec); 333 uintptr_t(Sec.getRawDataRefImpl().p) - uintptr_t(SectionTable); 386 Ret.p = reinterpret_cast<uintptr_t>(begin); 396 Ret.p = reinterpret_cast<uintptr_t>(I); 806 Ret.p = getSymbolTable(); 813 Ret.p = reinterpret_cast<uintptr_t>(StringTable); 859 Ret.p = reinterpret_cast<uintptr_t>(SectionTable); 867 Ret.p = reinterpret_cast<uintptr_t>(SectionTable + NumSections); 1117 return reinterpret_cast<const coff_relocation*>(Rel.p); 1121 Rel.p = reinterpret_cast<uintptr_t>( 1122 reinterpret_cast<const coff_relocation*>(Rel.p) + 1); 1136 Ref.p = reinterpret_cast<uintptr_t>(SymbolTable16 + R->SymbolTableIndex); 1138 Ref.p = reinterpret_cast<uintptr_t>(SymbolTable32 + R->SymbolTableIndex);lib/Object/IRObjectFile.cpp
38 return *reinterpret_cast<ModuleSymbolTable::Symbol *>(Symb.p); 42 Symb.p += sizeof(ModuleSymbolTable::Symbol); 56 Ret.p = reinterpret_cast<uintptr_t>(SymTab.symbols().data()); 62 Ret.p = reinterpret_cast<uintptr_t>(SymTab.symbols().data() +lib/Object/MachOObjectFile.cpp
115 const char *P = reinterpret_cast<const char *>(DRI.p); 1745 Symb.p += SymbolTableEntrySize; 2140 Sym.p = reinterpret_cast<uintptr_t>(getPtr(*this, Offset)); 2496 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, Offset)); 2507 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, Symtab.symoff)); 2508 DRI.p += Index * SymbolTableEntrySize; 2519 DRIstart.p = reinterpret_cast<uintptr_t>(getPtr(*this, Symtab.symoff)); 2520 uint64_t Index = (Symb.p - DRIstart.p) / SymbolTableEntrySize; 2520 uint64_t Index = (Symb.p - DRIstart.p) / SymbolTableEntrySize; 2765 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, DicLC.dataoff)); 2776 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, Offset)); 4272 const char *P = reinterpret_cast<const char *>(DRI.p); 4278 const char *P = reinterpret_cast<const char *>(DRI.p); 4431 const char *P = reinterpret_cast<const char *>(Rel.p);lib/Object/TapiFile.cpp
79 const auto *Sym = reinterpret_cast<const Symbol *>(DRI.p); 80 DRI.p = reinterpret_cast<uintptr_t>(++Sym); 84 const auto *Sym = reinterpret_cast<const Symbol *>(DRI.p); 90 const auto *Sym = reinterpret_cast<const Symbol *>(DRI.p); 96 DRI.p = reinterpret_cast<uintptr_t>(&*Symbols.begin()); 102 DRI.p = reinterpret_cast<uintptr_t>(&*Symbols.end());lib/Object/XCOFFObjectFile.cpp
81 checkSectionAddress(Ref.p, getSectionHeaderTableAddress()); 83 return viewAs<XCOFFSectionHeader32>(Ref.p); 90 checkSectionAddress(Ref.p, getSectionHeaderTableAddress()); 92 return viewAs<XCOFFSectionHeader64>(Ref.p); 97 assert(Ref.p != 0 && "Symbol table pointer can not be nullptr!"); 99 checkSymbolEntryPointer(Ref.p); 101 auto SymEntPtr = viewAs<XCOFFSymbolEntry>(Ref.p); 136 Symb.p = reinterpret_cast<uintptr_t>(SymEntPtr); 217 const char *Ptr = reinterpret_cast<const char *>(Sec.p); 218 Sec.p = reinterpret_cast<uintptr_t>(Ptr + getSectionHeaderSize()); 336 SymDRI.p = reinterpret_cast<uintptr_t>(SymbolTblPtr); 343 SymDRI.p = reinterpret_cast<uintptr_t>( 350 DRI.p = getSectionHeaderTableAddress(); 356 DRI.p = getWithOffset(getSectionHeaderTableAddress(), 410 DRI.p = getWithOffset(getSectionHeaderTableAddress(), 517 SymDRI.p = reinterpret_cast<uintptr_t>(getPointerToSymbolTable() + Index); 715 SymEntDataRef.p, XCOFF::SymbolTableEntrySize * getNumberOfAuxEntries());tools/lld/COFF/Chunks.cpp
639 r.p = reinterpret_cast<uintptr_t>(header);
tools/lld/ELF/DWARF.cpp64 return s + ref.getRawDataRefImpl().p; 112 d.p = getAddend<ELFT>(rel);tools/llvm-nm/llvm-nm.cpp
309 if (A.Sym.getRawDataRefImpl().p) 314 if (B.Sym.getRawDataRefImpl().p) 396 if (SymDRI.p){ 414 if (SymDRI.p){ 440 if (S.Sym.getRawDataRefImpl().p) { 505 if (S.Sym.getRawDataRefImpl().p) { 579 if (S.Sym.getRawDataRefImpl().p) { 802 if (S.Sym.getRawDataRefImpl().p) 870 if (S.Sym.getRawDataRefImpl().p) {unittests/Object/SymbolicFileTest.cpp
22 static_assert(sizeof Data.p == sizeof(uint64_t) || 23 sizeof Data.p == sizeof(uint32_t), 28 if (sizeof Data.p == sizeof(uint64_t)) {