Home | History | Annotate | Download | only in MC

Lines Matching refs:Sec

124   unsigned addToSectionTable(const MCSectionELF *Sec);
204 const MCSectionELF &Sec);
215 void writeSectionData(const MCAssembler &Asm, MCSection &Sec,
223 void writeRelocations(const MCAssembler &Asm, const MCSectionELF &Sec);
244 unsigned ELFObjectWriter::addToSectionTable(const MCSectionELF *Sec) {
245 SectionTable.push_back(Sec);
246 StrTabBuilder.add(Sec->getSectionName());
334 WriteWord(0); // e_shoff = sec hdr table off in bytes
376 for (const MCSection &Sec : Asm) {
377 const MCSymbol *Begin = Sec.getBeginSymbol();
571 auto &Sec = cast<MCSectionELF>(Sym->getSection());
572 unsigned Flags = Sec.getFlags();
953 const MCSectionELF &Sec) {
954 if (Relocations[&Sec].empty())
957 Sec.getSectionName();
968 if (Sec.getFlags() & ELF::SHF_GROUP)
973 Flags, EntrySize, Sec.getGroup(), &Sec);
1013 void ELFObjectWriter::writeSectionData(const MCAssembler &Asm, MCSection &Sec,
1015 MCSectionELF &Section = static_cast<MCSectionELF &>(Sec);
1049 ZlibStyle, Sec.getAlignment())) {
1083 const MCSectionELF &Sec) {
1084 std::vector<ELFRelocationEntry> &Relocs = Relocations[&Sec];
1233 for (MCSection &Sec : Asm) {
1234 MCSectionELF &Section = static_cast<MCSectionELF &>(Sec);
1307 const MCSectionELF *Sec = createStringTable(Ctx);
1309 SectionOffsets[Sec] = std::make_pair(SecStart, SecEnd);
1376 const auto &Sec = cast<MCSectionELF>(Sym.getSection());
1377 return Sec.getGroup();