Lines Matching refs:MCSectionELF

45 typedef DenseMap<const MCSectionELF *, uint32_t> SectionIndexMapTy;
103 llvm::DenseMap<const MCSectionELF *, std::vector<ELFRelocationEntry>>
124 std::vector<const MCSectionELF *> SectionTable;
125 unsigned addToSectionTable(const MCSectionELF *Sec);
174 typedef std::map<const MCSectionELF *, std::pair<uint64_t, uint64_t>>
200 MCSectionELF *createRelocationSection(MCContext &Ctx,
201 const MCSectionELF &Sec);
203 const MCSectionELF *createStringTable(MCContext &Ctx);
220 void writeRelocations(const MCAssembler &Asm, const MCSectionELF &Sec);
233 const MCSectionELF &Section);
242 unsigned ELFObjectWriter::addToSectionTable(const MCSectionELF *Sec) { in addToSectionTable()
562 auto &Sec = cast<MCSectionELF>(Sym->getSection()); in shouldRelocateWithSymbol()
618 const MCSectionELF &FixupSection = cast<MCSectionELF>(*Fragment->getParent()); in recordRelocation()
701 auto *ELFSec = cast_or_null<MCSectionELF>(SecA); in recordRelocation()
769 MCSectionELF *SymtabSection = in computeSymbolTable()
820 const MCSectionELF &Section = in computeSymbolTable()
821 static_cast<const MCSectionELF &>(Symbol.getSection()); in computeSymbolTable()
883 MCSectionELF *SymtabShndxSection = in computeSymbolTable()
937 const MCSectionELF *SymtabShndxSection = in computeSymbolTable()
945 MCSectionELF *
947 const MCSectionELF &Sec) { in createRelocationSection()
965 MCSectionELF *RelaSection = Ctx.createELFRelSection( in createRelocationSection()
994 MCSectionELF &Section = static_cast<MCSectionELF &>(Sec); in writeSectionData()
1050 const MCSectionELF &Sec) { in writeRelocations()
1095 const MCSectionELF *ELFObjectWriter::createStringTable(MCContext &Ctx) { in createStringTable()
1096 const MCSectionELF *StrtabSection = SectionTable[StringTableIndex - 1]; in createStringTable()
1103 uint64_t Size, const MCSectionELF &Section) { in writeSection()
1119 const MCSectionELF *InfoSection = Section.getAssociatedSection(); in writeSection()
1160 for (const MCSectionELF *Section : SectionTable) { in writeSectionHeader()
1184 MCSectionELF *StrtabSection = in writeObject()
1191 std::map<const MCSymbol *, std::vector<const MCSectionELF *>> GroupMembers; in writeObject()
1198 std::vector<MCSectionELF *> Groups; in writeObject()
1199 std::vector<MCSectionELF *> Relocations; in writeObject()
1201 MCSectionELF &Section = static_cast<MCSectionELF &>(Sec); in writeObject()
1214 MCSectionELF *RelSection = createRelocationSection(Ctx, Section); in writeObject()
1220 MCSectionELF *Group = Ctx.createELFGroupSection(SignatureSymbol); in writeObject()
1225 std::vector<const MCSectionELF *> &Members = in writeObject()
1239 for (MCSectionELF *Group : Groups) { in writeObject()
1248 for (const MCSectionELF *Member : GroupMembers[SignatureSymbol]) { in writeObject()
1260 for (MCSectionELF *RelSection : Relocations) { in writeObject()
1274 const MCSectionELF *Sec = createStringTable(Ctx); in writeObject()
1343 const auto &Sec = cast<MCSectionELF>(Sym.getSection()); in isWeak()