Home
last modified time | relevance | path

Searched refs:MCSec (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DXCOFFObjectWriter.cpp82 const MCSectionXCOFF *const MCSec; member
89 StringRef getSymbolTableName() const { return MCSec->getSymbolTableName(); } in getSymbolTableName()
91 return MCSec->getVisibilityType(); in getVisibilityType()
93 XCOFFSection(const MCSectionXCOFF *MCSec) in XCOFFSection()
94 : MCSec(MCSec), SymbolTableIndex(-1), Address(-1), Size(0) {} in XCOFFSection()
216 assert(DwarfSect->MCSec->isDwarfSect() && in DwarfSectionEntry()
346 CsectGroup &getCsectGroup(const MCSectionXCOFF *MCSec);
490 CsectGroup &XCOFFWriter::getCsectGroup(const MCSectionXCOFF *MCSec) { in getCsectGroup() argument
491 switch (MCSec->getMappingClass()) { in getCsectGroup()
493 assert(XCOFF::XTY_SD == MCSec->getCSectType() && in getCsectGroup()
[all …]
H A DWinCOFFObjectWriter.cpp190 uint32_t writeSectionContents(const MCSection &MCSec);
295 void WinCOFFWriter::defineSection(const MCSectionCOFF &MCSec) { in defineSection() argument
296 COFFSection *Section = createSection(MCSec.getName()); in defineSection()
297 COFFSymbol *Symbol = createSymbol(MCSec.getName()); in defineSection()
299 SymbolMap[MCSec.getBeginSymbol()] = Symbol; in defineSection()
304 if (MCSec.getSelection() != COFF::IMAGE_COMDAT_SELECT_ASSOCIATIVE) { in defineSection()
305 if (const MCSymbol *S = MCSec.getCOMDATSymbol()) { in defineSection()
317 Symbol->Aux[0].Aux.SectionDefinition.Selection = MCSec.getSelection(); in defineSection()
320 Section->Header.Characteristics = MCSec.getCharacteristics(); in defineSection()
321 Section->Header.Characteristics |= getAlignment(MCSec); in defineSection()
[all …]