Lines Matching refs:MCSectionELF

69 using SectionIndexMapTy = DenseMap<const MCSectionELF *, uint32_t>;
74 bool isDwoSection(const MCSectionELF &Sec) { in isDwoSection()
139 std::vector<const MCSectionELF *> SectionTable;
140 unsigned addToSectionTable(const MCSectionELF *Sec);
144 bool usesRela(const MCSectionELF &Sec) const;
177 std::map<const MCSectionELF *, std::pair<uint64_t, uint64_t>>;
194 MCSectionELF *createRelocationSection(MCContext &Ctx,
195 const MCSectionELF &Sec);
211 void writeRelocations(const MCAssembler &Asm, const MCSectionELF &Sec);
216 const MCSectionELF &Section);
223 DenseMap<const MCSectionELF *, std::vector<ELFRelocationEntry>> Relocations;
255 const MCSectionELF *From, in checkRelocation()
256 const MCSectionELF *To) { in checkRelocation()
306 bool checkRelocation(MCContext &Ctx, SMLoc Loc, const MCSectionELF *From, in checkRelocation()
307 const MCSectionELF *To) override { in checkRelocation()
337 unsigned ELFWriter::addToSectionTable(const MCSectionELF *Sec) { in addToSectionTable()
397 bool ELFWriter::usesRela(const MCSectionELF &Sec) const { in usesRela()
625 MCSectionELF *MemtagRelocs = nullptr; in createMemtagRelocs()
650 MCSectionELF *SymtabSection = in computeSymbolTable()
709 const MCSectionELF &Section = in computeSymbolTable()
710 static_cast<const MCSectionELF &>(Symbol.getSection()); in computeSymbolTable()
751 MCSectionELF *SymtabShndxSection = in computeSymbolTable()
809 const MCSectionELF *SymtabShndxSection = in computeSymbolTable()
823 MCSectionELF *ELFWriter::createRelocationSection(MCContext &Ctx, in createRelocationSection()
824 const MCSectionELF &Sec) { in createRelocationSection()
843 MCSectionELF *RelaSection = Ctx.createELFRelSection( in createRelocationSection()
876 MCSectionELF &Section = static_cast<MCSectionELF &>(Sec); in writeSectionData()
940 const MCSectionELF &Sec) { in writeRelocations()
1007 uint64_t Size, const MCSectionELF &Section) { in writeSection()
1024 sh_info = SectionIndexMap.lookup(cast<MCSectionELF>(InfoSection)); in writeSection()
1050 const MCSectionELF *Sec = cast<MCSectionELF>(&Sym->getSection()); in writeSection()
1071 for (const MCSectionELF *Section : SectionTable) { in writeSectionHeader()
1096 MCSectionELF *StrtabSection = in writeObject()
1105 std::map<const MCSymbol *, std::vector<const MCSectionELF *>> GroupMembers; in writeObject()
1112 std::vector<MCSectionELF *> Groups; in writeObject()
1113 std::vector<MCSectionELF *> Relocations; in writeObject()
1115 MCSectionELF &Section = static_cast<MCSectionELF &>(Sec); in writeObject()
1130 MCSectionELF *RelSection = createRelocationSection(Ctx, Section); in writeObject()
1135 MCSectionELF *Group = in writeObject()
1141 std::vector<const MCSectionELF *> &Members = in writeObject()
1157 for (MCSectionELF *Group : Groups) { in writeObject()
1164 for (const MCSectionELF *Member : GroupMembers[SignatureSymbol]) { in writeObject()
1178 MCSectionELF *AddrsigSection; in writeObject()
1189 for (MCSectionELF *RelSection : Relocations) { in writeObject()
1194 cast<MCSectionELF>(*RelSection->getLinkedToSection())); in writeObject()
1393 auto &Sec = cast<MCSectionELF>(Sym->getSection()); in shouldRelocateWithSymbol()
1445 const MCSectionELF &FixupSection = cast<MCSectionELF>(*Fragment->getParent()); in recordRelocation()
1487 const MCSectionELF *SecA = (SymA && SymA->isInSection()) in recordRelocation()
1488 ? cast<MCSectionELF>(&SymA->getSection()) in recordRelocation()
1494 const auto *Parent = cast<MCSectionELF>(Fragment->getParent()); in recordRelocation()