Lines Matching refs:Index
111 // This holds the symbol table index of the last local symbol.
113 // This holds the .strtab section index.
115 // This holds the .symtab section index.
276 /// \param SectionIndexMap - Maps a section to its index.
451 uint16_t Index = (shndx >= ELF::SHN_LORESERVE && !Reserved) ?
458 String16(*SymtabF, Index); // st_shndx
467 String16(*SymtabF, Index); // st_shndx
584 // The string table must be emitted first because we need the index
705 int Index = 0;
733 Index = F->getParent()->getOrdinal() + 1;
737 Index = 0;
744 Index = -1;
770 ELFRelocationEntry ERE(RelocOffset, Index, Type, RelocSymbol, Addend, Fixup);
837 unsigned Index = 1;
844 SectionIndexMap[&Section] = Index++;
855 SectionIndexMap[&Section] = Index++;
858 SectionIndexMap[RelSection] = Index++;
876 // Index 0 is always the empty string.
929 assert(MSD.SectionIndex && "Invalid section index!");
967 unsigned Index = 1;
969 LocalSymbolData[i].SymbolData->setIndex(Index++);
971 Index += NumRegularSections;
974 ExternalSymbolData[i].SymbolData->setIndex(Index++);
976 UndefinedSymbolData[i].SymbolData->setIndex(Index++);
978 if (Index >= ELF::SHN_LORESERVE)
1047 Write32(Name); // sh_name: index into string table
1071 if (!entry.Index)
1073 else if (entry.Index < 0)
1074 entry.Index = getSymbolIndexInSymbolTable(Asm, entry.Symbol);
1076 entry.Index += LocalSymbolData.size();
1080 String32(*F, entry.Index);
1089 ERE64.setSymbolAndType(entry.Index, entry.Type);
1098 ERE32.setSymbolAndType(entry.Index, entry.Type);
1196 uint64_t Index = 1;
1206 SectionStringTableIndex[&Section] = Index - Name.size() - 1;
1210 // Remember the index into the string table so we can write it
1212 SectionStringTableIndex[&Section] = Index;
1214 Index += Name.size() + 1;
1269 unsigned Index = SectionIndexMap.lookup(&Section);
1270 String32(*F, Index);