Lines Matching refs:Csect
491 XCOFFSection *Csect = SectionMap[ContainingCsect]; in executePostLayoutBinding() local
493 assert(Csect->MCSec->isCsect() && "only csect is supported now!"); in executePostLayoutBinding()
494 Csect->Syms.emplace_back(XSym); in executePostLayoutBinding()
862 for (const auto &Csect : *Group) { in writeRelocations()
863 for (const auto Reloc : Csect.Relocations) in writeRelocations()
864 writeRelocation(Reloc, Csect); in writeRelocations()
884 for (const auto &Csect : UndefinedCsects) { in writeSymbolTable() local
885 writeSymbolEntryForControlSection(Csect, XCOFF::ReservedSectionNum::N_UNDEF, in writeSymbolTable()
886 Csect.MCSec->getStorageClass()); in writeSymbolTable()
899 for (const auto &Csect : *Group) { in writeSymbolTable()
901 writeSymbolEntryForControlSection(Csect, SectionIndex, in writeSymbolTable()
902 Csect.MCSec->getStorageClass()); in writeSymbolTable()
904 for (const auto &Sym : Csect.Syms) in writeSymbolTable()
906 Sym, Csect, SectionIndex, Layout.getSymbolOffset(*(Sym.MCSym))); in writeSymbolTable()
926 for (auto &Csect : *Group) { in finalizeSectionInfo()
927 const size_t CsectRelocCount = Csect.Relocations.size(); in finalizeSectionInfo()
982 for (auto &Csect : UndefinedCsects) { in assignAddressesAndIndices() local
983 Csect.Size = 0; in assignAddressesAndIndices()
984 Csect.Address = 0; in assignAddressesAndIndices()
985 Csect.SymbolTableIndex = SymbolTableIndex; in assignAddressesAndIndices()
986 SymbolIndexMap[Csect.MCSec->getQualNameSymbol()] = Csect.SymbolTableIndex; in assignAddressesAndIndices()
1027 for (auto &Csect : *Group) { in assignAddressesAndIndices()
1028 const MCSectionXCOFF *MCSec = Csect.MCSec; in assignAddressesAndIndices()
1029 Csect.Address = alignTo(Address, MCSec->getAlignment()); in assignAddressesAndIndices()
1030 Csect.Size = Layout.getSectionAddressSize(MCSec); in assignAddressesAndIndices()
1031 Address = Csect.Address + Csect.Size; in assignAddressesAndIndices()
1032 Csect.SymbolTableIndex = SymbolTableIndex; in assignAddressesAndIndices()
1033 SymbolIndexMap[MCSec->getQualNameSymbol()] = Csect.SymbolTableIndex; in assignAddressesAndIndices()
1037 for (auto &Sym : Csect.Syms) { in assignAddressesAndIndices()
1178 for (const auto &Csect : *Group) { in writeSectionForControlSectionEntry()
1179 if (uint32_t PaddingSize = Csect.Address - CurrentAddressLocation) in writeSectionForControlSectionEntry()
1181 if (Csect.Size) in writeSectionForControlSectionEntry()
1182 Asm.writeSectionData(W.OS, Csect.MCSec, Layout); in writeSectionForControlSectionEntry()
1183 CurrentAddressLocation = Csect.Address + Csect.Size; in writeSectionForControlSectionEntry()