Lines Matching refs:Ndx

343                       unsigned Ndx, const Elf_Shdr *SymTab,
1012 unsigned Ndx = Symbol.st_shndx; in getSymbolSectionIndex() local
1013 if (Ndx == SHN_XINDEX) in getSymbolSectionIndex()
1016 if (Ndx != SHN_UNDEF && Ndx < SHN_LORESERVE) in getSymbolSectionIndex()
1017 return Ndx; in getSymbolSectionIndex()
1028 Twine::utohexstr(Ndx) + " (" + Desc + ")"); in getSymbolSectionIndex()
1031 if (Ndx >= ELF::SHN_LOPROC && Ndx <= ELF::SHN_HIPROC) in getSymbolSectionIndex()
1032 return CreateErr("SHN_LOPROC", Ndx - ELF::SHN_LOPROC); in getSymbolSectionIndex()
1033 if (Ndx >= ELF::SHN_LOOS && Ndx <= ELF::SHN_HIOS) in getSymbolSectionIndex()
1034 return CreateErr("SHN_LOOS", Ndx - ELF::SHN_LOOS); in getSymbolSectionIndex()
1035 if (Ndx == ELF::SHN_UNDEF) in getSymbolSectionIndex()
1037 if (Ndx == ELF::SHN_ABS) in getSymbolSectionIndex()
1039 if (Ndx == ELF::SHN_COMMON) in getSymbolSectionIndex()
1041 return CreateErr("SHN_LORESERVE", Ndx - SHN_LORESERVE); in getSymbolSectionIndex()
3765 for (uint32_t Ndx : Data.slice(1)) { in getGroups() local
3766 if (Expected<const Elf_Shdr *> SecOrErr = Obj.getSection(Ndx)) { in getGroups()
3767 GM.push_back({getPrintableSectionName(**SecOrErr), Ndx}); in getGroups()
3770 Twine(Ndx) + " when dumping the " + describe(Sec) + in getGroups()
3772 GM.push_back({"<?>", Ndx}); in getGroups()
4925 Sec, [&](const Relocation<ELFT> &R, unsigned Ndx, const Elf_Shdr &Sec, in printRelocationsHelper()
4926 const Elf_Shdr *SymTab) { printReloc(R, Ndx, Sec, SymTab); }); in printRelocationsHelper() argument
5046 unsigned Ndx = VerTable[I].vs_index; in printVersionSymbolSection() local
5047 if (Ndx == VER_NDX_LOCAL || Ndx == VER_NDX_GLOBAL) { in printVersionSymbolSection()
5048 Versions.emplace_back(Ndx == VER_NDX_LOCAL ? "*local*" : "*global*"); in printVersionSymbolSection()
5059 Ndx, IsDefault, *VersionMap, /*IsSymHidden=*/std::nullopt); in printVersionSymbolSection()
5075 unsigned Ndx = VerTable[VersymRow + I].vs_index; in printVersionSymbolSection() local
5076 OS << format("%4x%c", Ndx & VERSYM_VERSION, in printVersionSymbolSection()
5077 Ndx & VERSYM_HIDDEN ? 'h' : ' '); in printVersionSymbolSection()
5122 versionFlagToString(Def.Flags).c_str(), Def.Ndx, Def.Cnt, in printVersionDefinitionSection()
6665 const Elf_Shdr &RelocSec, unsigned Ndx, in printStackSize() argument
6677 Twine(Ndx) + " in " + describe(RelocSec) + ": " + in printStackSize()
6797 *RelocSec, [&](const Relocation<ELFT> &R, unsigned Ndx, in printRelocatableStackSizes()
6802 " contains an unsupported relocation with index " + Twine(Ndx) + in printRelocatableStackSizes()
6807 this->printStackSize(R, *RelocSec, Ndx, SymTab, FunctionSec, in printRelocatableStackSizes()
7597 W.printNumber("Index", D.Ndx); in printVersionDefinitionSection()