Lines Matching refs:MCSectionELF

72 bool isDwoSection(const MCSectionELF &Sec) {  in isDwoSection()
137 std::vector<MCSectionELF *> SectionTable;
138 unsigned addToSectionTable(MCSectionELF *Sec);
183 MCSectionELF *createRelocationSection(MCContext &Ctx,
184 const MCSectionELF &Sec);
195 void writeRelocations(const MCAssembler &Asm, const MCSectionELF &Sec);
199 const MCSectionELF &Section);
210 unsigned ELFWriter::addToSectionTable(MCSectionELF *Sec) { in addToSectionTable()
498 MCSectionELF *SymtabSection = in computeSymbolTable()
557 const MCSectionELF &Section = in computeSymbolTable()
558 static_cast<const MCSectionELF &>(Symbol.getSection()); in computeSymbolTable()
605 MCSectionELF *SymtabShndxSection = in computeSymbolTable()
663 MCSectionELF *SymtabShndxSection = SectionTable[SymtabShndxSectionIndex - 1]; in computeSymbolTable()
676 MCSectionELF *ELFWriter::createRelocationSection(MCContext &Ctx, in createRelocationSection()
677 const MCSectionELF &Sec) { in createRelocationSection()
688 MCSectionELF *RelaSection = in createRelocationSection()
701 MCSectionELF *RelaSection = in createRelocationSection()
734 MCSectionELF &Section = static_cast<MCSectionELF &>(Sec); in writeSectionData()
807 const MCSectionELF &Sec) { in writeRelocations()
878 uint64_t Size, const MCSectionELF &Section) { in writeSection()
939 for (const MCSectionELF *Section : SectionTable) { in writeSectionHeader()
962 MCSectionELF *StrtabSection = in writeObject()
972 SmallVector<std::pair<MCSectionELF *, SmallVector<unsigned>>, 0> Groups; in writeObject()
975 SmallVector<MCSectionELF *> Relocations; in writeObject()
977 MCSectionELF &Section = static_cast<MCSectionELF &>(Sec); in writeObject()
992 MCSectionELF *RelSection = createRelocationSection(Ctx, Section); in writeObject()
998 MCSectionELF *Group = in writeObject()
1041 MCSectionELF *AddrsigSection; in writeObject()
1051 for (MCSectionELF *RelSection : Relocations) { in writeObject()
1056 cast<MCSectionELF>(*RelSection->getLinkedToSection())); in writeObject()
1274 auto &Sec = cast<MCSectionELF>(Sym->getSection()); in shouldRelocateWithSymbol()
1319 const MCSectionELF *From, in checkRelocation()
1320 const MCSectionELF *To) { in checkRelocation()
1341 const MCSectionELF &FixupSection = cast<MCSectionELF>(*Fragment->getParent()); in recordRelocation()
1384 const MCSectionELF *SecA = (SymA && SymA->isInSection()) in recordRelocation()
1385 ? cast<MCSectionELF>(&SymA->getSection()) in recordRelocation()
1391 const auto *Parent = cast<MCSectionELF>(Fragment->getParent()); in recordRelocation()
1431 const MCSectionELF &Sec) const { in usesRela()