Lines Matching defs:Ndx
343 unsigned Ndx, const Elf_Shdr *SymTab,
1012 unsigned Ndx = Symbol.st_shndx;
1013 if (Ndx == SHN_XINDEX)
1016 if (Ndx != SHN_UNDEF && Ndx < SHN_LORESERVE)
1017 return Ndx;
1028 Twine::utohexstr(Ndx) + " (" + Desc + ")");
1031 if (Ndx >= ELF::SHN_LOPROC && Ndx <= ELF::SHN_HIPROC)
1032 return CreateErr("SHN_LOPROC", Ndx - ELF::SHN_LOPROC);
1033 if (Ndx >= ELF::SHN_LOOS && Ndx <= ELF::SHN_HIOS)
1034 return CreateErr("SHN_LOOS", Ndx - ELF::SHN_LOOS);
1035 if (Ndx == ELF::SHN_UNDEF)
1037 if (Ndx == ELF::SHN_ABS)
1039 if (Ndx == ELF::SHN_COMMON)
1041 return CreateErr("SHN_LORESERVE", Ndx - SHN_LORESERVE);
3781 for (uint32_t Ndx : Data.slice(1)) {
3782 if (Expected<const Elf_Shdr *> SecOrErr = Obj.getSection(Ndx)) {
3783 GM.push_back({getPrintableSectionName(**SecOrErr), Ndx});
3786 Twine(Ndx) + " when dumping the " + describe(Sec) +
3788 GM.push_back({"<?>", Ndx});
4209 OS << "Ndx(SecName) Name [+ Version Info]\n";
4211 OS << "Ndx Name\n";
4390 OS << " Num Buc: Value Size Type Bind Vis Ndx Name";
4392 OS << " Num Buc: Value Size Type Bind Vis Ndx Name";
4514 OS << " Num Buc: Value Size Type Bind Vis Ndx Name";
4516 OS << " Num Buc: Value Size Type Bind Vis Ndx Name";
4941 Sec, [&](const Relocation<ELFT> &R, unsigned Ndx, const Elf_Shdr &Sec,
4942 const Elf_Shdr *SymTab) { printReloc(R, Ndx, Sec, SymTab); });
5062 unsigned Ndx = VerTable[I].vs_index;
5063 if (Ndx == VER_NDX_LOCAL || Ndx == VER_NDX_GLOBAL) {
5064 Versions.emplace_back(Ndx == VER_NDX_LOCAL ? "*local*" : "*global*");
5075 Ndx, IsDefault, *VersionMap, /*IsSymHidden=*/std::nullopt);
5091 unsigned Ndx = VerTable[VersymRow + I].vs_index;
5092 OS << format("%4x%c", Ndx & VERSYM_VERSION,
5093 Ndx & VERSYM_HIDDEN ? 'h' : ' ');
5138 versionFlagToString(Def.Flags).c_str(), Def.Ndx, Def.Cnt,
6691 const Elf_Shdr &RelocSec, unsigned Ndx,
6703 Twine(Ndx) + " in " + describe(RelocSec) + ": " +
6823 *RelocSec, [&](const Relocation<ELFT> &R, unsigned Ndx,
6828 " contains an unsupported relocation with index " + Twine(Ndx) +
6833 this->printStackSize(R, *RelocSec, Ndx, SymTab, FunctionSec,
6907 << " Type Ndx Name\n";
6909 OS << " Address Access Initial Sym.Val. Type Ndx Name\n";
6965 OS << " Address Initial Sym.Val. Type Ndx Name\n";
7626 W.printNumber("Index", D.Ndx);