Lines Matching defs:Csect

81 // It can be a Csect or debug section or DWARF section and so on.
624 XCOFFSection *Csect = SectionMap[ContainingCsect];
626 assert(Csect->MCSec->isCsect() && "only csect is supported now!");
627 Csect->Syms.emplace_back(XSym);
1145 for (const auto &Csect : *Group) {
1146 for (const auto Reloc : Csect.Relocations)
1147 writeRelocation(Reloc, Csect);
1203 for (const auto &Csect : UndefinedCsects) {
1204 writeSymbolEntryForControlSection(Csect, XCOFF::ReservedSectionNum::N_UNDEF,
1205 Csect.MCSec->getStorageClass());
1218 for (const auto &Csect : *Group) {
1220 writeSymbolEntryForControlSection(Csect, SectionIndex,
1221 Csect.MCSec->getStorageClass());
1223 for (const auto &Sym : Csect.Syms)
1225 Sym, Csect, SectionIndex, Asm.getSymbolOffset(*(Sym.MCSym)));
1303 for (auto &Csect : *Group)
1304 RelCount += Csect.Relocations.size();
1418 for (auto &Csect : UndefinedCsects) {
1419 Csect.Size = 0;
1420 Csect.Address = 0;
1421 Csect.SymbolTableIndex = SymbolTableIndex;
1422 SymbolIndexMap[Csect.MCSec->getQualNameSymbol()] = Csect.SymbolTableIndex;
1462 for (auto &Csect : *Group) {
1463 const MCSectionXCOFF *MCSec = Csect.MCSec;
1464 Csect.Address = alignTo(Address, MCSec->getAlign());
1465 Csect.Size = Asm.getSectionAddressSize(*MCSec);
1466 Address = Csect.Address + Csect.Size;
1467 Csect.SymbolTableIndex = SymbolTableIndex;
1468 SymbolIndexMap[MCSec->getQualNameSymbol()] = Csect.SymbolTableIndex;
1472 for (auto &Sym : Csect.Syms) {
1612 for (const auto &Csect : *Group) {
1613 if (uint32_t PaddingSize = Csect.Address - CurrentAddressLocation)
1615 if (Csect.Size)
1616 Asm.writeSectionData(W.OS, Csect.MCSec);
1617 CurrentAddressLocation = Csect.Address + Csect.Size;