Lines Matching defs:Section
123 MCSymbolELF *MCContext::getOrCreateSectionSymbol(const MCSectionELF &Section) {
124 MCSymbolELF *&Sym = SectionSymbols[&Section];
128 StringRef Name = Section.getSectionName();
267 // Section Management
270 MCSectionMachO *MCContext::getMachOSection(StringRef Segment, StringRef Section,
283 Name += Section;
296 Segment, Section, TypeAndAttributes, Reserved2, Kind, Begin);
299 void MCContext::renameELFSection(MCSectionELF *Section, StringRef Name) {
301 if (const MCSymbol *Group = Section->getGroup())
304 unsigned UniqueID = Section->getUniqueID();
306 ELFSectionKey{Section->getSectionName(), GroupName, UniqueID});
309 Section))
312 const_cast<MCSectionELF *>(Section)->setSectionName(CachedName);
328 MCSectionELF *MCContext::getELFSection(StringRef Section, unsigned Type,
336 return getELFSection(Section, Type, Flags, EntrySize, GroupSym, UniqueID,
340 MCSectionELF *MCContext::getELFSection(StringRef Section, unsigned Type,
351 std::make_pair(ELFSectionKey{Section, Group, UniqueID}, nullptr));
382 MCSectionCOFF *MCContext::getCOFFSection(StringRef Section,
394 COFFSectionKey T{Section, COMDATSymName, Selection};
412 MCSectionCOFF *MCContext::getCOFFSection(StringRef Section,
416 return getCOFFSection(Section, Characteristics, Kind, "", 0, BeginSymName);
419 MCSectionCOFF *MCContext::getCOFFSection(StringRef Section) {
420 COFFSectionKey T{Section, "", 0};