Home
last modified time | relevance | path

Searched refs:SymTable (Results 1 – 14 of 14) sorted by relevance

/external/llvm-project/llvm/tools/llvm-objcopy/MachO/
DMachOLayoutBuilder.cpp56 for (std::unique_ptr<SymbolEntry> &Sym : O.SymTable.Symbols) in constructStringTable()
63 for (auto &Symbol : O.SymTable.Symbols) in updateSymbolIndexes()
72 assert(llvm::is_sorted(O.SymTable.Symbols, in updateDySymTab()
85 auto Iter = O.SymTable.Symbols.begin(); in updateDySymTab()
86 auto End = O.SymTable.Symbols.end(); in updateDySymTab()
108 O.SymTable.Symbols.size() - (NumLocalSymbols + NumExtDefSymbols); in updateDySymTab()
257 StartOfSymbols + NListSize * O.SymTable.Symbols.size(); in layoutTail()
298 MLC.symtab_command_data.nsyms = O.SymTable.Symbols.size(); in layoutTail()
DObject.cpp91 for (const std::unique_ptr<SymbolEntry> &Sym : SymTable.Symbols) in removeSections()
106 SymTable.removeSymbols(IsDead); in removeSections()
107 for (std::unique_ptr<SymbolEntry> &S : SymTable.Symbols) in removeSections()
DMachOWriter.cpp30 return O.SymTable.Symbols.size() * in symTableSize()
314 char *SymTable = (char *)B.getBufferStart() + SymTabCommand.symoff; in writeSymbolTable() local
315 for (auto Iter = O.SymTable.Symbols.begin(), End = O.SymTable.Symbols.end(); in writeSymbolTable()
321 writeNListEntry<MachO::nlist_64>(*Sym, IsLittleEndian, SymTable, Nstrx); in writeSymbolTable()
323 writeNListEntry<MachO::nlist>(*Sym, IsLittleEndian, SymTable, Nstrx); in writeSymbolTable()
DMachOReader.cpp213 O.SymTable.Symbols.push_back(std::make_unique<SymbolEntry>(SE)); in readSymbolTable()
230 Reloc.Symbol = O.SymTable.getSymbolByIndex(SymbolNum); in setSymbolInRelocationInfo()
293 Index, O.SymTable.getSymbolByIndex(Index)); in readIndirectSymbolTable()
DObject.h303 SymbolTable SymTable; member
DMachOObjcopy.cpp88 for (SymbolEntry &Sym : Obj.SymTable) { in updateAndRemoveSymbols()
108 Obj.SymTable.removeSymbols(RemovePred); in updateAndRemoveSymbols()
/external/llvm/include/llvm/Object/
DELF.h456 const Elf_Shdr &SymTable = **SymTableOrErr; in getSHNDXTable() local
457 if (SymTable.sh_type != ELF::SHT_SYMTAB && in getSHNDXTable()
458 SymTable.sh_type != ELF::SHT_DYNSYM) in getSHNDXTable()
460 if (NumSymbols != (SymTable.sh_size / sizeof(Elf_Sym))) in getSHNDXTable()
DELFObjectFile.h255 DataRefImpl toDRI(const Elf_Shdr *SymTable, unsigned SymbolNum) const { in toDRI() argument
257 if (!SymTable) { in toDRI()
262 assert(SymTable->sh_type == ELF::SHT_SYMTAB || in toDRI()
263 SymTable->sh_type == ELF::SHT_DYNSYM); in toDRI()
267 (reinterpret_cast<uintptr_t>(SymTable) - SHT) / sizeof(Elf_Shdr); in toDRI()
369 StringRef SymTable = *EF.getStringTable(StringTableSec); in getSymbolName() local
370 return ESym->getName(SymTable); in getSymbolName()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DELF.h641 const Elf_Shdr &SymTable = **SymTableOrErr; in getSHNDXTable() local
642 if (SymTable.sh_type != ELF::SHT_SYMTAB && in getSHNDXTable()
643 SymTable.sh_type != ELF::SHT_DYNSYM) in getSHNDXTable()
646 SymTable.sh_type) + in getSHNDXTable()
649 uint64_t Syms = SymTable.sh_size / sizeof(Elf_Sym); in getSHNDXTable()
DELFObjectFile.h314 DataRefImpl toDRI(const Elf_Shdr *SymTable, unsigned SymbolNum) const { in toDRI() argument
316 if (!SymTable) { in toDRI()
321 assert(SymTable->sh_type == ELF::SHT_SYMTAB || in toDRI()
322 SymTable->sh_type == ELF::SHT_DYNSYM); in toDRI()
332 (reinterpret_cast<uintptr_t>(SymTable) - SHT) / sizeof(Elf_Shdr); in toDRI()
/external/llvm-project/llvm/include/llvm/Object/
DELF.h688 const Elf_Shdr &SymTable = **SymTableOrErr; in getSHNDXTable() local
689 if (SymTable.sh_type != ELF::SHT_SYMTAB && in getSHNDXTable()
690 SymTable.sh_type != ELF::SHT_DYNSYM) in getSHNDXTable()
693 object::getELFSectionTypeName(getHeader().e_machine, SymTable.sh_type) + in getSHNDXTable()
696 uint64_t Syms = SymTable.sh_size / sizeof(Elf_Sym); in getSHNDXTable()
DELFObjectFile.h249 ELFSymbolRef toSymbolRef(const Elf_Shdr *SymTable, unsigned SymbolNum) const { in toSymbolRef() argument
250 return ELFSymbolRef({toDRI(SymTable, SymbolNum), this}); in toSymbolRef()
320 DataRefImpl toDRI(const Elf_Shdr *SymTable, unsigned SymbolNum) const { in toDRI() argument
322 if (!SymTable) { in toDRI()
327 assert(SymTable->sh_type == ELF::SHT_SYMTAB || in toDRI()
328 SymTable->sh_type == ELF::SHT_DYNSYM); in toDRI()
338 (reinterpret_cast<uintptr_t>(SymTable) - SHT) / sizeof(Elf_Shdr); in toDRI()
/external/llvm-project/llvm/tools/obj2yaml/
Delf2yaml.cpp38 ArrayRef<Elf_Sym> SymTable; member in __anondaeeffcc0111::ELFDumper
171 unsigned Index = Sym - SymTable.data(); in getUniquedSymbolName()
646 SymTable = *SymtabOrErr; in dumpSymbols()
647 SymbolNames.resize(SymTable.size()); in dumpSymbols()
/external/llvm/tools/llvm-readobj/
DELFDumper.cpp2050 const Elf_Shdr *SymTable = in parsePLT() local
2052 StringRef StrTable = unwrapOrError(Obj->getStringTableForSymtab(*SymTable)); in parsePLT()
2073 const Elf_Sym *Sym = Obj->getRelocationSymbol(&*RI, SymTable); in parsePLT()
2081 const Elf_Sym *Sym = Obj->getRelocationSymbol(&*RI, SymTable); in parsePLT()