Lines Matching refs:Section

281   void defineSectionSymbols(const MCSectionGOFF &Section);
294 void GOFFWriter::defineSectionSymbols(const MCSectionGOFF &Section) { in defineSectionSymbols() argument
295 if (Section.isSD()) { in defineSectionSymbols()
296 GOFFSymbol SD(Section.getName(), Section.getOrdinal(), in defineSectionSymbols()
297 Section.getSDAttributes()); in defineSectionSymbols()
301 if (Section.isED()) { in defineSectionSymbols()
302 GOFFSymbol ED(Section.getName(), Section.getOrdinal(), in defineSectionSymbols()
303 Section.getParent()->getOrdinal(), Section.getEDAttributes()); in defineSectionSymbols()
304 ED.SectionLength = Asm.getSectionAddressSize(Section); in defineSectionSymbols()
308 if (Section.isPR()) { in defineSectionSymbols()
309 MCSectionGOFF *Parent = Section.getParent(); in defineSectionSymbols()
310 GOFFSymbol PR(Section.getName(), Section.getOrdinal(), Parent->getOrdinal(), in defineSectionSymbols()
311 Parent->getEDAttributes(), Section.getPRAttributes()); in defineSectionSymbols()
312 PR.SectionLength = Asm.getSectionAddressSize(Section); in defineSectionSymbols()
313 if (Section.requiresNonZeroLength()) { in defineSectionSymbols()
327 MCSectionGOFF &Section = static_cast<MCSectionGOFF &>(Symbol.getSection()); in defineLabel() local
328 GOFFSymbol LD(Symbol.getName(), Symbol.getIndex(), Section.getOrdinal(), in defineLabel()
329 Section.getEDAttributes().NameSpace, Symbol.getLDAttributes()); in defineLabel()
339 auto &Section = cast<MCSectionGOFF>(S); in defineSymbols() local
340 Section.setOrdinal(++Ordinal); in defineSymbols()
341 defineSectionSymbols(Section); in defineSymbols()
474 void GOFFWriter::writeText(const MCSectionGOFF *Section) { in writeText() argument
476 if (Section->isBSS()) in writeText()
479 TextStream S(OS, Section->getOrdinal(), Section->getTextStyle()); in writeText()
480 Asm.writeSectionData(S, Section); in writeText()
506 for (const MCSection &Section : Asm) in writeObject() local
507 writeText(static_cast<const MCSectionGOFF *>(&Section)); in writeObject()