Lines Matching refs:MCSectionELF

68 using SectionIndexMapTy = DenseMap<const MCSectionELF *, uint32_t>;
73 bool isDwoSection(const MCSectionELF &Sec) { in isDwoSection()
138 std::vector<const MCSectionELF *> SectionTable;
139 unsigned addToSectionTable(const MCSectionELF *Sec);
143 bool usesRela(const MCSectionELF &Sec) const;
175 std::map<const MCSectionELF *, std::pair<uint64_t, uint64_t>>;
192 MCSectionELF *createRelocationSection(MCContext &Ctx,
193 const MCSectionELF &Sec);
207 void writeRelocations(const MCAssembler &Asm, const MCSectionELF &Sec);
212 const MCSectionELF &Section);
219 DenseMap<const MCSectionELF *, std::vector<ELFRelocationEntry>> Relocations;
249 const MCSectionELF *From, in checkRelocation()
250 const MCSectionELF *To) { in checkRelocation()
296 bool checkRelocation(MCContext &Ctx, SMLoc Loc, const MCSectionELF *From, in checkRelocation()
297 const MCSectionELF *To) override { in checkRelocation()
326 unsigned ELFWriter::addToSectionTable(const MCSectionELF *Sec) { in addToSectionTable()
386 bool ELFWriter::usesRela(const MCSectionELF &Sec) const { in usesRela()
620 MCSectionELF *SymtabSection = in computeSymbolTable()
679 const MCSectionELF &Section = in computeSymbolTable()
680 static_cast<const MCSectionELF &>(Symbol.getSection()); in computeSymbolTable()
721 MCSectionELF *SymtabShndxSection = in computeSymbolTable()
779 const MCSectionELF *SymtabShndxSection = in computeSymbolTable()
792 MCSectionELF *ELFWriter::createRelocationSection(MCContext &Ctx, in createRelocationSection()
793 const MCSectionELF &Sec) { in createRelocationSection()
812 MCSectionELF *RelaSection = Ctx.createELFRelSection( in createRelocationSection()
845 MCSectionELF &Section = static_cast<MCSectionELF &>(Sec); in writeSectionData()
902 const MCSectionELF &Sec) { in writeRelocations()
969 uint64_t Size, const MCSectionELF &Section) { in writeSection()
986 sh_info = SectionIndexMap.lookup(cast<MCSectionELF>(InfoSection)); in writeSection()
1012 const MCSectionELF *Sec = cast<MCSectionELF>(&Sym->getSection()); in writeSection()
1033 for (const MCSectionELF *Section : SectionTable) { in writeSectionHeader()
1058 MCSectionELF *StrtabSection = in writeObject()
1065 std::map<const MCSymbol *, std::vector<const MCSectionELF *>> GroupMembers; in writeObject()
1072 std::vector<MCSectionELF *> Groups; in writeObject()
1073 std::vector<MCSectionELF *> Relocations; in writeObject()
1075 MCSectionELF &Section = static_cast<MCSectionELF &>(Sec); in writeObject()
1090 MCSectionELF *RelSection = createRelocationSection(Ctx, Section); in writeObject()
1095 MCSectionELF *Group = in writeObject()
1101 std::vector<const MCSectionELF *> &Members = in writeObject()
1117 for (MCSectionELF *Group : Groups) { in writeObject()
1124 for (const MCSectionELF *Member : GroupMembers[SignatureSymbol]) { in writeObject()
1138 MCSectionELF *AddrsigSection; in writeObject()
1149 for (MCSectionELF *RelSection : Relocations) { in writeObject()
1154 cast<MCSectionELF>(*RelSection->getLinkedToSection())); in writeObject()
1343 auto &Sec = cast<MCSectionELF>(Sym->getSection()); in shouldRelocateWithSymbol()
1395 const MCSectionELF &FixupSection = cast<MCSectionELF>(*Fragment->getParent()); in recordRelocation()
1437 const MCSectionELF *SecA = (SymA && SymA->isInSection()) in recordRelocation()
1438 ? cast<MCSectionELF>(&SymA->getSection()) in recordRelocation()
1444 const auto *Parent = cast<MCSectionELF>(Fragment->getParent()); in recordRelocation()