Home | History | Annotate | Download | only in MC

Lines Matching refs:Index

153   uint16_t Index = (shndx >= ELF::SHN_LORESERVE && !Reserved) ?
160 String16(*SymtabF, Index); // st_shndx
169 String16(*SymtabF, Index); // st_shndx
281 // The string table must be emitted first because we need the index
401 int Index = 0;
428 Index = F->getParent()->getOrdinal() + 1;
437 Index = -1;
462 ELFRelocationEntry ERE(RelocOffset, Index, Type, RelocSymbol, Addend);
529 unsigned Index = 1;
536 SectionIndexMap[&Section] = Index++;
547 SectionIndexMap[&Section] = Index++;
550 SectionIndexMap[RelSection] = Index++;
568 // Index 0 is always the empty string.
621 assert(MSD.SectionIndex && "Invalid section index!");
659 unsigned Index = 1;
661 LocalSymbolData[i].SymbolData->setIndex(Index++);
663 Index += NumRegularSections;
666 ExternalSymbolData[i].SymbolData->setIndex(Index++);
668 UndefinedSymbolData[i].SymbolData->setIndex(Index++);
732 Write32(Name); // sh_name: index into string table
754 if (!entry.Index)
756 else if (entry.Index < 0)
757 entry.Index = getSymbolIndexInSymbolTable(Asm, entry.Symbol);
759 entry.Index += LocalSymbolData.size();
764 ERE64.setSymbolAndType(entry.Index, entry.Type);
773 ERE32.setSymbolAndType(entry.Index, entry.Type);
871 uint64_t Index = 1;
881 SectionStringTableIndex[&Section] = Index - Name.size() - 1;
885 // Remember the index into the string table so we can write it
887 SectionStringTableIndex[&Section] = Index;
889 Index += Name.size() + 1;
944 unsigned Index = SectionIndexMap.lookup(&Section);
945 String32(*F, Index);