Lines Matching defs:Csect
81 // It can be a Csect or debug section or DWARF section and so on.
625 XCOFFSection *Csect = SectionMap[ContainingCsect];
627 assert(Csect->MCSec->isCsect() && "only csect is supported now!");
628 Csect->Syms.emplace_back(XSym);
1148 for (const auto &Csect : *Group) {
1149 for (const auto Reloc : Csect.Relocations)
1150 writeRelocation(Reloc, Csect);
1209 for (const auto &Csect : UndefinedCsects) {
1210 writeSymbolEntryForControlSection(Csect, XCOFF::ReservedSectionNum::N_UNDEF,
1211 Csect.MCSec->getStorageClass());
1224 for (const auto &Csect : *Group) {
1226 writeSymbolEntryForControlSection(Csect, SectionIndex,
1227 Csect.MCSec->getStorageClass());
1229 for (const auto &Sym : Csect.Syms)
1231 Sym, Csect, SectionIndex, Asm.getSymbolOffset(*(Sym.MCSym)));
1310 for (auto &Csect : *Group)
1311 RelCount += Csect.Relocations.size();
1424 for (auto &Csect : UndefinedCsects) {
1425 Csect.Size = 0;
1426 Csect.Address = 0;
1427 Csect.SymbolTableIndex = SymbolTableIndex;
1428 SymbolIndexMap[Csect.MCSec->getQualNameSymbol()] = Csect.SymbolTableIndex;
1468 for (auto &Csect : *Group) {
1469 const MCSectionXCOFF *MCSec = Csect.MCSec;
1470 Csect.Address = alignTo(Address, MCSec->getAlign());
1471 Csect.Size = Asm.getSectionAddressSize(*MCSec);
1472 Address = Csect.Address + Csect.Size;
1473 Csect.SymbolTableIndex = SymbolTableIndex;
1474 SymbolIndexMap[MCSec->getQualNameSymbol()] = Csect.SymbolTableIndex;
1478 for (auto &Sym : Csect.Syms) {
1618 for (const auto &Csect : *Group) {
1619 if (uint32_t PaddingSize = Csect.Address - CurrentAddressLocation)
1621 if (Csect.Size)
1622 Asm.writeSectionData(W.OS, Csect.MCSec);
1623 CurrentAddressLocation = Csect.Address + Csect.Size;