/external/llvm/include/llvm/Object/ |
COFFImportFile.h | 36 void moveSymbolNext(DataRefImpl &Symb) const override { ++Symb.p; } 39 DataRefImpl Symb) const override { 40 if (Symb.p == 0) 46 uint32_t getSymbolFlags(DataRefImpl Symb) const override { 55 DataRefImpl Symb; 56 Symb.p = isCode() ? 2 : 1; 57 return BasicSymbolRef(Symb, this);
|
IRObjectFile.h | 36 void moveSymbolNext(DataRefImpl &Symb) const override; 38 DataRefImpl Symb) const override; 39 uint32_t getSymbolFlags(DataRefImpl Symb) const override; 40 GlobalValue *getSymbolGV(DataRefImpl Symb); 41 const GlobalValue *getSymbolGV(DataRefImpl Symb) const { 42 return const_cast<IRObjectFile *>(this)->getSymbolGV(Symb);
|
ModuleSummaryIndexObjectFile.h | 41 void moveSymbolNext(DataRefImpl &Symb) const override { 45 DataRefImpl Symb) const override { 49 uint32_t getSymbolFlags(DataRefImpl Symb) const override {
|
ELFObjectFile.h | 56 virtual uint64_t getSymbolSize(DataRefImpl Symb) const = 0; 57 virtual uint8_t getSymbolOther(DataRefImpl Symb) const = 0; 58 virtual uint8_t getSymbolELFType(DataRefImpl Symb) const = 0; 208 void moveSymbolNext(DataRefImpl &Symb) const override; 209 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override; 210 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override; 211 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override; 212 uint32_t getSymbolAlignment(DataRefImpl Symb) const override; 213 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override; 214 uint32_t getSymbolFlags(DataRefImpl Symb) const override [all...] |
ObjectFile.h | 198 virtual Expected<StringRef> getSymbolName(DataRefImpl Symb) const = 0; 200 DataRefImpl Symb) const override; 201 virtual Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const = 0; 202 virtual uint64_t getSymbolValueImpl(DataRefImpl Symb) const = 0; 203 virtual uint32_t getSymbolAlignment(DataRefImpl Symb) const; 204 virtual uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const = 0; 205 virtual Expected<SymbolRef::Type> getSymbolType(DataRefImpl Symb) const = 0; 207 getSymbolSection(DataRefImpl Symb) const = 0; 239 uint64_t getSymbolValue(DataRefImpl Symb) const; 242 uint64_t getCommonSymbolSize(DataRefImpl Symb) const [all...] |
MachO.h | 199 void moveSymbolNext(DataRefImpl &Symb) const override; 202 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override; 205 std::error_code getIndirectName(DataRefImpl Symb, StringRef &Res) const; 208 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override; 209 uint32_t getSymbolAlignment(DataRefImpl Symb) const override; 210 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override; 211 Expected<SymbolRef::Type> getSymbolType(DataRefImpl Symb) const override; 212 uint32_t getSymbolFlags(DataRefImpl Symb) const override; 213 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override; 214 unsigned getSymbolSectionID(SymbolRef Symb) const [all...] |
SymbolicFile.h | 62 content_iterator(content_type symb) : Current(std::move(symb)) {} 133 virtual void moveSymbolNext(DataRefImpl &Symb) const = 0; 136 DataRefImpl Symb) const = 0; 138 virtual uint32_t getSymbolFlags(DataRefImpl Symb) const = 0;
|
COFF.h | 648 const coff_symbol_type *toSymb(DataRefImpl Symb) const; 722 void moveSymbolNext(DataRefImpl &Symb) const override; 723 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override; 724 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override; 725 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override; 726 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override; 727 uint32_t getSymbolFlags(DataRefImpl Symb) const override; 728 Expected<SymbolRef::Type> getSymbolType(DataRefImpl Symb) const override; 729 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override; 817 const coff_symbol16 *Symb = nullptr [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Object/ |
COFF.h | 90 const coff_symbol *toSymb(DataRefImpl Symb) const; 95 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const; 96 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const; 97 virtual error_code getSymbolOffset(DataRefImpl Symb, uint64_t &Res) const; 98 virtual error_code getSymbolAddress(DataRefImpl Symb, uint64_t &Res) const; 99 virtual error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const; 100 virtual error_code getSymbolNMTypeChar(DataRefImpl Symb, char &Res) const; 101 virtual error_code isSymbolInternal(DataRefImpl Symb, bool &Res) const; 102 virtual error_code isSymbolGlobal(DataRefImpl Symb, bool &Res) const; 103 virtual error_code getSymbolType(DataRefImpl Symb, SymbolRef::SymbolType &Res) const [all...] |
MachO.h | 42 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const; 43 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const; 44 virtual error_code getSymbolOffset(DataRefImpl Symb, uint64_t &Res) const; 45 virtual error_code getSymbolAddress(DataRefImpl Symb, uint64_t &Res) const; 46 virtual error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const; 47 virtual error_code getSymbolNMTypeChar(DataRefImpl Symb, char &Res) const; 48 virtual error_code isSymbolInternal(DataRefImpl Symb, bool &Res) const; 49 virtual error_code isSymbolGlobal(DataRefImpl Symb, bool &Res) const; 50 virtual error_code getSymbolType(DataRefImpl Symb, SymbolRef::SymbolType &Res) const;
|
ObjectFile.h | 46 content_iterator(content_type symb) 47 : Current(symb) {} 227 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const = 0; 228 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const = 0; 229 virtual error_code getSymbolAddress(DataRefImpl Symb, uint64_t &Res) const =0; 230 virtual error_code getSymbolOffset(DataRefImpl Symb, uint64_t &Res) const =0; 231 virtual error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const = 0; 232 virtual error_code getSymbolNMTypeChar(DataRefImpl Symb, char &Res) const = 0; 233 virtual error_code isSymbolInternal(DataRefImpl Symb, bool &Res) const = 0; 234 virtual error_code isSymbolGlobal(DataRefImpl Symb, bool &Res) const = 0 [all...] |
/external/llvm/lib/Object/ |
IRObjectFile.cpp | 128 static GlobalValue *getGV(DataRefImpl &Symb) { 129 if ((Symb.p & 3) == 3) 132 return reinterpret_cast<GlobalValue*>(Symb.p & ~uintptr_t(3)); 156 static unsigned getAsmSymIndex(DataRefImpl Symb) { 157 assert((Symb.p & uintptr_t(3)) == 3); 158 uintptr_t Index = Symb.p & ~uintptr_t(3); 163 void IRObjectFile::moveSymbolNext(DataRefImpl &Symb) const { 164 const GlobalValue *GV = getGV(Symb); 167 switch (Symb.p & 3) { 187 unsigned Index = getAsmSymIndex(Symb); [all...] |
COFFObjectFile.cpp | 135 const coff_symbol16 *Symb = toSymb<coff_symbol16>(Ref); 136 Symb += 1 + Symb->NumberOfAuxSymbols; 137 Ref.p = std::min(reinterpret_cast<uintptr_t>(Symb), End); 139 const coff_symbol32 *Symb = toSymb<coff_symbol32>(Ref); 140 Symb += 1 + Symb->NumberOfAuxSymbols; 141 Ref.p = std::min(reinterpret_cast<uintptr_t>(Symb), End); 148 COFFSymbolRef Symb = getCOFFSymbol(Ref); 150 std::error_code EC = getSymbolName(Symb, Result) [all...] |
ObjectFile.cpp | 51 DataRefImpl Symb) const { 52 Expected<StringRef> Name = getSymbolName(Symb);
|
MachOObjectFile.cpp | 442 void MachOObjectFile::moveSymbolNext(DataRefImpl &Symb) const { 446 Symb.p += SymbolTableEntrySize; 449 Expected<StringRef> MachOObjectFile::getSymbolName(DataRefImpl Symb) const { 451 MachO::nlist_base Entry = getSymbolTableEntryBase(this, Symb); 455 " for symbol at index " + Twine(getSymbolIndex(Symb))); 477 std::error_code MachOObjectFile::getIndirectName(DataRefImpl Symb, 480 MachO::nlist_base Entry = getSymbolTableEntryBase(this, Symb); 483 uint64_t NValue = getNValue(Symb); 513 MachOObjectFile::getSymbolType(DataRefImpl Symb) const { 514 MachO::nlist_base Entry = getSymbolTableEntryBase(this, Symb); [all...] |
/external/swiftshader/third_party/LLVM/lib/Object/ |
COFFObjectFile.cpp | 54 const coff_symbol *COFFObjectFile::toSymb(DataRefImpl Symb) const { 55 const coff_symbol *addr = reinterpret_cast<const coff_symbol*>(Symb.p); 89 error_code COFFObjectFile::getSymbolNext(DataRefImpl Symb, 91 const coff_symbol *symb = toSymb(Symb); local 92 symb += 1 + symb->NumberOfAuxSymbols; 93 Symb.p = reinterpret_cast<uintptr_t>(symb); 94 Result = SymbolRef(Symb, this) 100 const coff_symbol *symb = toSymb(Symb); local 120 const coff_symbol *symb = toSymb(Symb); local 138 const coff_symbol *symb = toSymb(Symb); local 158 const coff_symbol *symb = toSymb(Symb); local 180 const coff_symbol *symb = toSymb(Symb); local 190 const coff_symbol *symb = toSymb(Symb); local 208 const coff_symbol *symb = toSymb(Symb); local 373 const coff_symbol *symb = toSymb(Symb); local 658 const coff_symbol *symb = 0; local [all...] |
ELFObjectFile.cpp | 310 void validateSymbol(DataRefImpl Symb) const; 316 const Elf_Sym *getSymbol(DataRefImpl Symb) const; 323 error_code getSymbolName(const Elf_Sym *Symb, StringRef &Res) const; 326 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const; 327 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const; 328 virtual error_code getSymbolOffset(DataRefImpl Symb, uint64_t &Res) const; 329 virtual error_code getSymbolAddress(DataRefImpl Symb, uint64_t &Res) const; 330 virtual error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const; 331 virtual error_code getSymbolNMTypeChar(DataRefImpl Symb, char &Res) const; 332 virtual error_code isSymbolInternal(DataRefImpl Symb, bool &Res) const 386 const Elf_Sym *symb = getSymbol(Symb); local 431 const Elf_Sym *symb = getSymbol(Symb); local 459 const Elf_Sym *symb = getSymbol(Symb); local 493 const Elf_Sym *symb = getSymbol(Symb); local 530 const Elf_Sym *symb = getSymbol(Symb); local 542 const Elf_Sym *symb = getSymbol(Symb); local 607 const Elf_Sym *symb = getSymbol(Symb); local 633 const Elf_Sym *symb = getSymbol(Symb); local 644 const Elf_Sym *symb = getSymbol(Symb); local 1051 const Elf_Sym *symb = getEntry<Elf_Sym>(sec->sh_link, symbol_index); local [all...] |
MachOObjectFile.cpp | 217 error_code MachOObjectFile::isSymbolGlobal(DataRefImpl Symb, bool &Res) const { 221 getSymbol64TableEntry(Symb, Entry); 225 getSymbolTableEntry(Symb, Entry); 231 error_code MachOObjectFile::getSymbolType(DataRefImpl Symb, 236 getSymbol64TableEntry(Symb, Entry); 240 getSymbolTableEntry(Symb, Entry); 455 DataRefImpl Symb, 458 getSymbolType(Symb, ST); 471 getSymbol64TableEntry(Symb, Entry); 476 getSymbolTableEntry(Symb, Entry) [all...] |
/external/swiftshader/third_party/LLVM/lib/MC/ |
WinCOFFObjectWriter.cpp | 86 COFFSymbol *Symb; 88 COFFRelocation() : Symb(NULL) {} 657 const MCSymbolRefExpr *SymB = Target.getSymB(); 658 const bool CrossSection = SymB && 659 &SymA->getSymbol().getSection() != &SymB->getSymbol().getSection(); 672 // In the case where we have SymbA and SymB, we just need to store the delta 688 Reloc.Symb = coff_symbol->Section->Symbol; 692 Reloc.Symb = coff_symbol; 694 ++Reloc.Symb->Relocations; 815 assert((*cr).Symb->Index != -1) [all...] |
/external/llvm/tools/llvm-nm/ |
llvm-nm.cpp | 791 COFFSymbolRef Symb = Obj.getCOFFSymbol(*I); 810 if (!COFF::isReservedSectionNumber(Symb.getSectionNumber())) { 821 switch (Symb.getSectionNumber()) { 835 if (Symb.isSectionDefinition()) 843 DataRefImpl Symb = I->getRawDataRefImpl(); 844 uint8_t NType = Obj.is64Bit() ? Obj.getSymbol64TableEntry(Symb).n_type 845 : Obj.getSymbolTableEntry(Symb).n_type; 856 Expected<section_iterator> SecOrErr = Obj.getSymbolSection(Symb); [all...] |
/external/llvm/lib/MC/ |
WinCOFFObjectWriter.cpp | 93 COFFSymbol *Symb; 95 COFFRelocation() : Symb(nullptr) {} 679 const MCSymbolRefExpr *SymB = Target.getSymB(); 682 if (SymB) { 683 const MCSymbol *B = &SymB->getSymbol(); 705 // In the case where we have SymbA and SymB, we just need to store the delta 734 Reloc.Symb = SectionMap[TargetSection]->Symbol; 740 Reloc.Symb = SymbolMap[&A]; 743 ++Reloc.Symb->Relocations; 962 assert(Relocation.Symb->getIndex() != -1) [all...] |
/external/llvm/tools/llvm-objdump/ |
llvm-objdump.cpp | 532 const Elf_Sym *symb = Obj->getSymbol(SI->getRawDataRefImpl()); 534 if (symb->getType() == ELF::STT_SECTION) { 544 Expected<StringRef> SymName = symb->getName(StrTab); [all...] |
MachODump.cpp | [all...] |