Lines Matching refs:MCSectionELF
45 typedef DenseMap<const MCSectionELF *, uint32_t> SectionIndexMapTy;
102 llvm::DenseMap<const MCSectionELF *, std::vector<ELFRelocationEntry>>
123 std::vector<const MCSectionELF *> SectionTable;
124 unsigned addToSectionTable(const MCSectionELF *Sec);
177 typedef std::map<const MCSectionELF *, std::pair<uint64_t, uint64_t>>
203 MCSectionELF *createRelocationSection(MCContext &Ctx,
204 const MCSectionELF &Sec);
206 const MCSectionELF *createStringTable(MCContext &Ctx);
223 void writeRelocations(const MCAssembler &Asm, const MCSectionELF &Sec);
235 const MCSectionELF &Section);
244 unsigned ELFObjectWriter::addToSectionTable(const MCSectionELF *Sec) { in addToSectionTable()
571 auto &Sec = cast<MCSectionELF>(Sym->getSection()); in shouldRelocateWithSymbol()
627 const MCSectionELF &FixupSection = cast<MCSectionELF>(*Fragment->getParent()); in recordRelocation()
705 auto *ELFSec = cast_or_null<MCSectionELF>(SecA); in recordRelocation()
775 MCSectionELF *SymtabSection = in computeSymbolTable()
826 const MCSectionELF &Section = in computeSymbolTable()
827 static_cast<const MCSectionELF &>(Symbol.getSection()); in computeSymbolTable()
889 MCSectionELF *SymtabShndxSection = in computeSymbolTable()
943 const MCSectionELF *SymtabShndxSection = in computeSymbolTable()
951 MCSectionELF *
953 const MCSectionELF &Sec) { in createRelocationSection()
971 MCSectionELF *RelaSection = Ctx.createELFRelSection( in createRelocationSection()
1015 MCSectionELF &Section = static_cast<MCSectionELF &>(Sec); in writeSectionData()
1083 const MCSectionELF &Sec) { in writeRelocations()
1128 const MCSectionELF *ELFObjectWriter::createStringTable(MCContext &Ctx) { in createStringTable()
1129 const MCSectionELF *StrtabSection = SectionTable[StringTableIndex - 1]; in createStringTable()
1136 uint64_t Size, const MCSectionELF &Section) { in writeSection()
1152 const MCSectionELF *InfoSection = Section.getAssociatedSection(); in writeSection()
1193 for (const MCSectionELF *Section : SectionTable) { in writeSectionHeader()
1217 MCSectionELF *StrtabSection = in writeObject()
1224 std::map<const MCSymbol *, std::vector<const MCSectionELF *>> GroupMembers; in writeObject()
1231 std::vector<MCSectionELF *> Groups; in writeObject()
1232 std::vector<MCSectionELF *> Relocations; in writeObject()
1234 MCSectionELF &Section = static_cast<MCSectionELF &>(Sec); in writeObject()
1247 MCSectionELF *RelSection = createRelocationSection(Ctx, Section); in writeObject()
1253 MCSectionELF *Group = Ctx.createELFGroupSection(SignatureSymbol); in writeObject()
1258 std::vector<const MCSectionELF *> &Members = in writeObject()
1272 for (MCSectionELF *Group : Groups) { in writeObject()
1281 for (const MCSectionELF *Member : GroupMembers[SignatureSymbol]) { in writeObject()
1293 for (MCSectionELF *RelSection : Relocations) { in writeObject()
1307 const MCSectionELF *Sec = createStringTable(Ctx); in writeObject()
1376 const auto &Sec = cast<MCSectionELF>(Sym.getSection()); in isWeak()