/external/swiftshader/third_party/subzero/src/ |
D | IceELFObjectWriter.cpp | 94 SymTab = createSection<ELFSymbolTableSection>(SymTabName, SHT_SYMTAB, 0, in ELFObjectWriter() 96 SymTab->createNullSymbol(NullSection, &Ctx); in ELFObjectWriter() 192 SymTab->setNumber(CurSectionNumber++); in assignSectionNumbersInfo() 193 SymTab->setNameStrIndex(ShStrTab->getIndex(SymTab->getName())); in assignSectionNumbersInfo() 194 AllSections.push_back(SymTab); in assignSectionNumbersInfo() 200 SymTab->setLinkNum(StrTab->getNumber()); in assignSectionNumbersInfo() 201 SymTab->setInfoNum(SymTab->getNumLocals()); in assignSectionNumbersInfo() 203 assignRelLinkNum(SymTab->getNumber(), RelTextSections); in assignSectionNumbersInfo() 204 assignRelLinkNum(SymTab->getNumber(), RelDataSections); in assignSectionNumbersInfo() 205 assignRelLinkNum(SymTab->getNumber(), RelRODataSections); in assignSectionNumbersInfo() [all …]
|
D | IceELFSection.h | 238 ELFSymbolTableSection *SymTab); 246 void writeData(ELFStreamer &Str, const ELFSymbolTableSection *SymTab); 358 const ELFSymbolTableSection *SymTab) { in writeData() argument 362 Symbol = SymTab->getNullSymbol(); in writeData() 367 Symbol = SymTab->findSymbol(Name); in writeData()
|
/external/llvm-project/llvm/lib/Object/ |
D | IRObjectFile.cpp | 32 SymTab.addModule(M.get()); in IRObjectFile() 46 SymTab.printSymbolName(OS, getSym(Symb)); in printSymbolName() 51 return SymTab.getSymbolFlags(getSym(Symb)); in getSymbolFlags() 56 Ret.p = reinterpret_cast<uintptr_t>(SymTab.symbols().data()); in symbol_begin() 62 Ret.p = reinterpret_cast<uintptr_t>(SymTab.symbols().data() + in symbol_end() 63 SymTab.symbols().size()); in symbol_end()
|
D | ModuleSymbolTable.cpp | 64 SymTab.push_back(&GV); in addModule() 67 SymTab.push_back(new (AsmSymbols.Allocate()) in addModule()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | IRObjectFile.cpp | 32 SymTab.addModule(M.get()); in IRObjectFile() 46 SymTab.printSymbolName(OS, getSym(Symb)); in printSymbolName() 51 return SymTab.getSymbolFlags(getSym(Symb)); in getSymbolFlags() 56 Ret.p = reinterpret_cast<uintptr_t>(SymTab.symbols().data()); in symbol_begin() 62 Ret.p = reinterpret_cast<uintptr_t>(SymTab.symbols().data() + in symbol_end() 63 SymTab.symbols().size()); in symbol_end()
|
D | ModuleSymbolTable.cpp | 63 SymTab.push_back(&GV); in addModule() 66 SymTab.push_back(new (AsmSymbols.Allocate()) AsmSymbol(Name, Flags)); in addModule()
|
/external/llvm-project/llvm/lib/InterfaceStub/ |
D | ELFObjHandler.cpp | 299 void fillSymTabShdr(ContentSection<ELFSymbolTableBuilder<ELFT>, ELFT> &SymTab, in fillSymTabShdr() argument 301 SymTab.Shdr.sh_type = ShType; in fillSymTabShdr() 302 SymTab.Shdr.sh_flags = SHF_ALLOC; in fillSymTabShdr() 303 SymTab.Shdr.sh_addr = SymTab.Addr; in fillSymTabShdr() 304 SymTab.Shdr.sh_offset = SymTab.Offset; in fillSymTabShdr() 305 SymTab.Shdr.sh_info = SymTab.Size / sizeof(Elf_Sym) > 1 ? 1 : 0; in fillSymTabShdr() 306 SymTab.Shdr.sh_size = SymTab.Size; in fillSymTabShdr() 307 SymTab.Shdr.sh_name = this->ShStrTab.Content.getOffset(SymTab.Name); in fillSymTabShdr() 308 SymTab.Shdr.sh_addralign = SymTab.Align; in fillSymTabShdr() 309 SymTab.Shdr.sh_entsize = sizeof(Elf_Sym); in fillSymTabShdr() [all …]
|
/external/llvm/tools/obj2yaml/ |
D | elf2yaml.cpp | 31 std::error_code dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab, 37 std::error_code dumpRelocation(const RelT *Rel, const Elf_Shdr *SymTab, 178 ELFDumper<ELFT>::dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab, in dumpSymbol() argument 190 ErrorOr<const Elf_Shdr *> ShdrOrErr = Obj.getSection(Sym, SymTab, ShndxTable); in dumpSymbol() 208 const Elf_Shdr *SymTab, in dumpRelocation() argument 214 const Elf_Sym *Sym = Obj.getRelocationSymbol(Rel, SymTab); in dumpRelocation() 215 ErrorOr<const Elf_Shdr *> StrTabSec = Obj.getSection(SymTab->sh_link); in dumpRelocation() 288 const Elf_Shdr *SymTab = *SymTabOrErr; in dumpRelSection() local 292 if (std::error_code EC = dumpRelocation(&*RI, SymTab, R)) in dumpRelSection() 312 const Elf_Shdr *SymTab = *SymTabOrErr; in dumpRelaSection() local [all …]
|
/external/llvm/include/llvm/Object/ |
D | ELF.h | 97 const Elf_Shdr *SymTab) const; 185 const Elf_Shdr *SymTab, 192 const Elf_Shdr *SymTab, 213 const Elf_Sym *Sym, const Elf_Shdr *SymTab, in getExtendedSymbolTableIndex() argument 215 return getExtendedSymbolTableIndex(Sym, symbol_begin(SymTab), ShndxTable); in getExtendedSymbolTableIndex() 231 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab, in getSection() argument 235 return getSection(getExtendedSymbolTableIndex(Sym, SymTab, ShndxTable)); in getSection() 303 const Elf_Shdr *SymTab) const { in getRelocationSymbol() argument 307 return getEntry<Elf_Sym>(SymTab, Index); in getRelocationSymbol()
|
D | ELFObjectFile.h | 219 const Elf_Shdr *SymTab) const; 412 const Elf_Shdr *SymTab = *EF.getSection(Symb.d.a); in getSymbolAddress() local 416 EF.getSection(ESym, SymTab, ShndxTable); in getSymbolAddress() 535 const Elf_Shdr *SymTab) const { in getSymbolSection() argument 536 ErrorOr<const Elf_Shdr *> ESecOrErr = EF.getSection(ESym, SymTab, ShndxTable); in getSymbolSection() 553 const Elf_Shdr *SymTab = *EF.getSection(Symb.d.a); in getSymbolSection() local 554 return getSymbolSection(Sym, SymTab); in getSymbolSection() 801 const Elf_Shdr *SymTab = DotSymtabSec; in symbol_end_impl() local 802 if (!SymTab) in symbol_end_impl() 804 DataRefImpl Sym = toDRI(SymTab, SymTab->sh_size / sizeof(Elf_Sym)); in symbol_end_impl() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | ModuleSymbolTable.h | 41 std::vector<Symbol> SymTab; variable 45 ArrayRef<Symbol> symbols() const { return SymTab; } in symbols()
|
D | ELFObjectFile.h | 270 const Elf_Shdr *SymTab) const; 529 const Elf_Shdr *SymTab = *SymTabOrErr; in getSymbolAddress() local 532 auto SectionOrErr = EF.getSection(ESym, SymTab, ShndxTable); in getSymbolAddress() 665 const Elf_Shdr *SymTab) const { in getSymbolSection() argument 666 auto ESecOrErr = EF.getSection(ESym, SymTab, ShndxTable); in getSymbolSection() 686 const Elf_Shdr *SymTab = *SymTabOrErr; in getSymbolSection() local 687 return getSymbolSection(Sym, SymTab); in getSymbolSection() 1012 const Elf_Shdr *SymTab = DotSymtabSec; in symbol_end() local 1013 if (!SymTab) in symbol_end() 1015 DataRefImpl Sym = toDRI(SymTab, SymTab->sh_size / sizeof(Elf_Sym)); in symbol_end() [all …]
|
D | ELF.h | 149 const Elf_Shdr *SymTab) const; 284 const Elf_Shdr *SymTab, 353 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab, in getSection() argument 355 auto SymsOrErr = symbols(SymTab); in getSection() 475 const Elf_Shdr *SymTab) const { in getRelocationSymbol() argument 479 return getEntry<Elf_Sym>(SymTab, Index); in getRelocationSymbol()
|
D | IRObjectFile.h | 33 ModuleSymbolTable SymTab; variable
|
/external/llvm-project/llvm/include/llvm/Object/ |
D | ModuleSymbolTable.h | 42 std::vector<Symbol> SymTab; variable 46 ArrayRef<Symbol> symbols() const { return SymTab; } in symbols()
|
D | ELFObjectFile.h | 283 const Elf_Shdr *SymTab) const; 736 const Elf_Shdr *SymTab) const { in getSymbolSection() argument 747 auto ESecOrErr = EF.getSection(*ESym, SymTab, ShndxTable); in getSymbolSection() 767 const Elf_Shdr *SymTab = *SymTabOrErr; in getSymbolSection() local 768 return getSymbolSection(Sym, SymTab); in getSymbolSection() 1074 const Elf_Shdr *SymTab = DotSymtabSec; in symbol_end() local 1075 if (!SymTab) in symbol_end() 1077 DataRefImpl Sym = toDRI(SymTab, SymTab->sh_size / sizeof(Elf_Sym)); in symbol_end() 1093 const Elf_Shdr *SymTab = DotDynSymSec; in dynamic_symbol_end() local 1094 if (!SymTab) in dynamic_symbol_end() [all …]
|
D | ELF.h | 167 const Elf_Shdr *SymTab) const; 303 const Elf_Shdr *SymTab, 371 ELFFile<ELFT>::getSection(const Elf_Sym &Sym, const Elf_Shdr *SymTab, in getSection() argument 373 auto SymsOrErr = symbols(SymTab); in getSection() 513 const Elf_Shdr *SymTab) const { in getRelocationSymbol() argument 517 return getEntry<Elf_Sym>(*SymTab, Index); in getRelocationSymbol()
|
D | IRObjectFile.h | 33 ModuleSymbolTable SymTab; variable
|
/external/llvm-project/llvm/tools/llvm-objcopy/ELF/ |
D | Object.cpp | 1071 this->Link = SymTab ? SymTab->Index : 0; in finalize() 1076 if (ToRemove(SymTab)) { in removeSectionReferences() 1083 SymTab = nullptr; in removeSectionReferences() 1262 auto &SymTab = Obj->addSection<SymbolTableSection>(); in addSymTab() local 1264 SymTab.Name = ".symtab"; in addSymTab() 1265 SymTab.Link = StrTab->Index; in addSymTab() 1268 SymTab.addSymbol("", 0, 0, nullptr, 0, 0, 0, 0); in addSymTab() 1270 Obj->SymbolTable = &SymTab; in addSymTab() 1271 return &SymTab; in addSymTab() 1282 void BinaryELFBuilder::addData(SymbolTableSection *SymTab) { in addData() argument [all …]
|
D | Object.h | 659 void setSymTab(SymbolTableSection *SymTab) { Symbols = SymTab; } in setSymTab() argument 754 void setSymTab(SymTabType *SymTab) { Symbols = SymTab; } in setSymTab() argument 796 const SymbolTableSection *SymTab = nullptr; variable 808 void setSymTab(const SymbolTableSection *SymTabSec) { SymTab = SymTabSec; } in setSymTab() 915 void addData(SymbolTableSection *SymTab); 951 Error initSymbolTable(SymbolTableSection *SymTab);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
D | LTOModule.cpp | 48 SymTab.addModule(Mod.get()); in LTOModule() 343 SymTab.printSymbolName(OS, Sym); in addDefinedDataSymbol() 401 SymTab.printSymbolName(OS, Sym); in addDefinedFunctionSymbol() 541 SymTab.printSymbolName(OS, Sym); in addPotentialUndefinedSymbol() 567 for (auto Sym : SymTab.symbols()) { in parseSymbols() 569 uint32_t Flags = SymTab.getSymbolFlags(Sym); in parseSymbols() 579 SymTab.printSymbolName(OS, Sym); in parseSymbols()
|
/external/llvm-project/llvm/tools/obj2yaml/ |
D | elf2yaml.cpp | 51 const Elf_Shdr *SymTab); 67 Error dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab, 74 Error dumpRelocation(const RelT *Rel, const Elf_Shdr *SymTab, 155 const Elf_Shdr *SymTab) { in getUniquedSymbolName() argument 161 auto ShdrOrErr = Obj.getSection(*Sym, SymTab, ShndxTables.lookup(SymTab)); in getUniquedSymbolName() 170 if (SymTab->sh_type == ELF::SHT_SYMTAB) { in getUniquedSymbolName() 306 const Elf_Shdr *SymTab = nullptr; in dump() local 311 SymTab = &Sec; in dump() 335 if (SymTab) { in dump() 337 if (Error E = dumpSymbols(SymTab, *Y->Symbols)) in dump() [all …]
|
/external/llvm-project/llvm/lib/LTO/ |
D | LTOModule.cpp | 50 SymTab.addModule(Mod.get()); in LTOModule() 347 SymTab.printSymbolName(OS, Sym); in addDefinedDataSymbol() 405 SymTab.printSymbolName(OS, Sym); in addDefinedFunctionSymbol() 544 SymTab.printSymbolName(OS, Sym); in addPotentialUndefinedSymbol() 570 for (auto Sym : SymTab.symbols()) { in parseSymbols() 572 uint32_t Flags = SymTab.getSymbolFlags(Sym); in parseSymbols() 582 SymTab.printSymbolName(OS, Sym); in parseSymbols()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Function.h | 65 SymTab; ///< Symbol table of args/instructions variable 523 inline ValueSymbolTable *getValueSymbolTable() { return SymTab.get(); } in getValueSymbolTable() 525 return SymTab.get(); in getValueSymbolTable()
|
/external/llvm/include/llvm/IR/ |
D | Function.h | 57 ValueSymbolTable *SymTab; ///< Symbol table of args/instructions 498 inline ValueSymbolTable &getValueSymbolTable() { return *SymTab; } 499 inline const ValueSymbolTable &getValueSymbolTable() const { return *SymTab; }
|