Lines Matching refs:Index
112 // This holds the symbol table index of the last local symbol.
114 // This holds the .strtab section index.
116 // This holds the .symtab section index.
447 uint16_t Index = (shndx >= ELF::SHN_LORESERVE && !Reserved) ?
454 String16(*SymtabF, Index); // st_shndx
463 String16(*SymtabF, Index); // st_shndx
575 // The string table must be emitted first because we need the index
696 int Index = 0;
723 Index = F->getParent()->getOrdinal() + 1;
732 Index = -1;
762 ELFRelocationEntry ERE(RelocOffset, Index, Type, RelocSymbol, Addend, Fixup);
829 unsigned Index = 1;
836 SectionIndexMap[&Section] = Index++;
847 SectionIndexMap[&Section] = Index++;
850 SectionIndexMap[RelSection] = Index++;
868 // Index 0 is always the empty string.
921 assert(MSD.SectionIndex && "Invalid section index!");
959 unsigned Index = 1;
961 LocalSymbolData[i].SymbolData->setIndex(Index++);
963 Index += NumRegularSections;
966 ExternalSymbolData[i].SymbolData->setIndex(Index++);
968 UndefinedSymbolData[i].SymbolData->setIndex(Index++);
1032 Write32(Name); // sh_name: index into string table
1056 if (!entry.Index)
1058 else if (entry.Index < 0)
1059 entry.Index = getSymbolIndexInSymbolTable(Asm, entry.Symbol);
1061 entry.Index += LocalSymbolData.size();
1066 ERE64.setSymbolAndType(entry.Index, entry.Type);
1075 ERE32.setSymbolAndType(entry.Index, entry.Type);
1173 uint64_t Index = 1;
1183 SectionStringTableIndex[&Section] = Index - Name.size() - 1;
1187 // Remember the index into the string table so we can write it
1189 SectionStringTableIndex[&Section] = Index;
1191 Index += Name.size() + 1;
1246 unsigned Index = SectionIndexMap.lookup(&Section);
1247 String32(*F, Index);