Home
last modified time | relevance | path

Searched refs:symIndex (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/lld/COFF/
H A DSymbolTable.cpp159 getSymbolLocations(ObjFile *file, uint32_t symIndex, size_t maxStrings) { in getSymbolLocations() argument
172 if (r.SymbolTableIndex != symIndex) in getSymbolLocations()
211 return getSymbolLocations(file, symIndex, SIZE_MAX).first; in getSymbolLocations()
215 getSymbolLocations(InputFile *file, uint32_t symIndex, size_t maxStrings) { in getSymbolLocations() argument
217 return getSymbolLocations(o, symIndex, maxStrings); in getSymbolLocations()
235 uint32_t symIndex; member
251 ref.file, ref.symIndex, maxUndefReferences - numDisplayedRefs); in reportUndefinedSymbol()
402 uint32_t symIndex = (uint32_t)-1; in reportProblemSymbols() local
404 ++symIndex; in reportProblemSymbols()
411 undefDiags.push_back({sym, {{file, symIndex}}}); in reportProblemSymbols()
[all …]
H A DSymbolTable.h141 std::vector<std::string> getSymbolLocations(ObjFile *file, uint32_t symIndex);
H A DWriter.cpp1745 for (uint32_t symIndex : symIndices) { in getSymbolsFromSections() local
1746 if (symIndex >= objSymbols.size()) { in getSymbolsFromSections()
1751 if (Symbol *s = objSymbols[symIndex]) { in getSymbolsFromSections()
H A DDriver.cpp1198 uint64_t symIndex = decodeULEB128(cur, &size, contents.end(), &err); in findKeepUniqueSections() local
1201 if (symIndex >= syms.size()) in findKeepUniqueSections()
1203 markAddrsig(syms[symIndex]); in findKeepUniqueSections()
/llvm-project-15.0.7/lld/ELF/
H A DDWARF.cpp115 uint32_t symIndex = rel.getSymbol(config->isMips64EL); in findAux() local
116 const typename ELFT::Sym &sym = file->template getELFSyms<ELFT>()[symIndex]; in findAux()
H A DInputFiles.h243 uint32_t symIndex = rel.getSymbol(config->isMips64EL); in getRelocTargetSym() local
244 return getSymbol(symIndex); in getRelocTargetSym()
H A DRelocations.cpp482 uint32_t symIndex = rel.getSymbol(config->isMips64EL); in computeMipsAddend() local
488 ri->getSymbol(config->isMips64EL) == symIndex) in computeMipsAddend()
1296 uint32_t symIndex = rel.getSymbol(config->isMips64EL); in scanOne() local
1297 Symbol &sym = sec.getFile<ELFT>()->getSymbol(symIndex); in scanOne()
1315 if (sym.isUndefined() && symIndex != 0 && in scanOne()
H A DDriver.cpp2063 uint64_t symIndex = decodeULEB128(cur, &size, contents.end(), &err); in findKeepUniqueSections() local
2066 markAddrsig(syms[symIndex]); in findKeepUniqueSections()
/llvm-project-15.0.7/lld/wasm/
H A DSymbolTable.cpp99 int &symIndex = p.first->second; in insertName() local
101 if (symIndex == -1) { in insertName()
102 symIndex = symVector.size(); in insertName()
108 return {symVector[symIndex], false}; in insertName()
/llvm-project-15.0.7/lld/MachO/
H A DInputFiles.cpp941 uint32_t symIndex = symbolIndices[j]; in parseSymbols() local
942 const NList &sym = nList[symIndex]; in parseSymbols()
952 symbols[symIndex] = in parseSymbols()
967 uint32_t symIndex = symbolIndices[j]; in parseSymbols() local
968 const NList &sym = nList[symIndex]; in parseSymbols()
988 symbols[symIndex] = createDefined(sym, name, isec, symbolOffset, in parseSymbols()
1007 symbols[symIndex] = createDefined(sym, name, nextIsec, /*value=*/0, in parseSymbols()