Lines Matching refs:Ndx
216 unsigned Ndx; member
595 VD.Ndx = D->vd_ndx; in getVersionDefinitions()
794 unsigned Ndx, const Elf_Shdr *SymTab,
1072 InsertEntry(Def.Ndx & ELF::VERSYM_VERSION, Def.Name, true); in LoadVersionMap()
1243 unsigned Ndx = Symbol.st_shndx; in getSymbolSectionIndex() local
1244 if (Ndx == SHN_XINDEX) in getSymbolSectionIndex()
1247 if (Ndx != SHN_UNDEF && Ndx < SHN_LORESERVE) in getSymbolSectionIndex()
1248 return Ndx; in getSymbolSectionIndex()
1258 Twine::utohexstr(Ndx) + " (" + Desc + ")"); in getSymbolSectionIndex()
1261 if (Ndx >= ELF::SHN_LOPROC && Ndx <= ELF::SHN_HIPROC) in getSymbolSectionIndex()
1262 return CreateErr("SHN_LOPROC", Ndx - ELF::SHN_LOPROC); in getSymbolSectionIndex()
1263 if (Ndx >= ELF::SHN_LOOS && Ndx <= ELF::SHN_HIOS) in getSymbolSectionIndex()
1264 return CreateErr("SHN_LOOS", Ndx - ELF::SHN_LOOS); in getSymbolSectionIndex()
1265 if (Ndx == ELF::SHN_UNDEF) in getSymbolSectionIndex()
1267 if (Ndx == ELF::SHN_ABS) in getSymbolSectionIndex()
1269 if (Ndx == ELF::SHN_COMMON) in getSymbolSectionIndex()
1271 return CreateErr("SHN_LORESERVE", Ndx - SHN_LORESERVE); in getSymbolSectionIndex()
3640 for (uint32_t Ndx : Data.slice(1)) { in getGroups() local
3641 if (Expected<const Elf_Shdr *> SecOrErr = Obj.getSection(Ndx)) { in getGroups()
3642 GM.push_back({getPrintableSectionName(**SecOrErr), Ndx}); in getGroups()
3645 Twine(Ndx) + " when dumping the " + in getGroups()
3648 GM.push_back({"<?>", Ndx}); in getGroups()
4652 [&](const Relocation<ELFT> &R, unsigned Ndx, const Elf_Shdr &Sec, in printRelocationsHelper()
4653 const Elf_Shdr *SymTab) { printReloc(R, Ndx, Sec, SymTab); }, in printRelocationsHelper() argument
4736 unsigned Ndx = VerTable[I].vs_index; in printVersionSymbolSection() local
4737 if (Ndx == VER_NDX_LOCAL || Ndx == VER_NDX_GLOBAL) { in printVersionSymbolSection()
4738 Versions.emplace_back(Ndx == VER_NDX_LOCAL ? "*local*" : "*global*"); in printVersionSymbolSection()
4744 this->dumper().getSymbolVersionByIndex(Ndx, IsDefault); in printVersionSymbolSection()
4760 unsigned Ndx = VerTable[VersymRow + I].vs_index; in printVersionSymbolSection() local
4761 OS << format("%4x%c", Ndx & VERSYM_VERSION, in printVersionSymbolSection()
4762 Ndx & VERSYM_HIDDEN ? 'h' : ' '); in printVersionSymbolSection()
4807 versionFlagToString(Def.Flags).c_str(), Def.Ndx, Def.Cnt, in printVersionDefinitionSection()
5902 const Elf_Shdr &RelocSec, unsigned Ndx, in printStackSize() argument
5915 Twine(Ndx) + " in " + describe(Obj, RelocSec) + ": " + in printStackSize()
6056 [&](const Relocation<ELFT> &R, unsigned Ndx, const Elf_Shdr &Sec, in printRelocatableStackSizes()
6061 " contains an unsupported relocation with index " + Twine(Ndx) + in printRelocatableStackSizes()
6066 this->printStackSize(R, *RelocSec, Ndx, SymTab, FunctionSec, in printRelocatableStackSizes()
6716 W.printNumber("Index", D.Ndx); in printVersionDefinitionSection()