Lines Matching refs:Section
131 const ELFYAML::RawContentSection &Section,
134 const ELFYAML::RelocationSection &Section,
139 const ELFYAML::MipsABIFlags &Section,
324 if (!Sym.Section.empty()) { in addSymbols()
326 if (SN2I.lookup(Sym.Section, Index)) { in addSymbols()
327 errs() << "error: Unknown section referenced: '" << Sym.Section in addSymbols()
343 const ELFYAML::RawContentSection &Section, in writeSectionContent() argument
345 assert(Section.Size >= Section.Content.binary_size() && in writeSectionContent()
349 Section.Content.writeAsBinary(OS); in writeSectionContent()
350 for (auto i = Section.Content.binary_size(); i < Section.Size; ++i) in writeSectionContent()
353 SHeader.sh_size = Section.Size; in writeSectionContent()
365 const ELFYAML::RelocationSection &Section, in writeSectionContent() argument
367 assert((Section.Type == llvm::ELF::SHT_REL || in writeSectionContent()
368 Section.Type == llvm::ELF::SHT_RELA) && in writeSectionContent()
371 bool IsRela = Section.Type == llvm::ELF::SHT_RELA; in writeSectionContent()
373 SHeader.sh_size = SHeader.sh_entsize * Section.Relocations.size(); in writeSectionContent()
377 for (const auto &Rel : Section.Relocations) { in writeSectionContent()
404 const ELFYAML::Group &Section, in writeSectionContent() argument
407 assert(Section.Type == llvm::ELF::SHT_GROUP && in writeSectionContent()
411 SHeader.sh_size = SHeader.sh_entsize * Section.Members.size(); in writeSectionContent()
415 for (auto member : Section.Members) { in writeSectionContent()
423 << Section.Name << "\n"; in writeSectionContent()
434 const ELFYAML::MipsABIFlags &Section, in writeSectionContent() argument
436 assert(Section.Type == llvm::ELF::SHT_MIPS_ABIFLAGS && in writeSectionContent()
445 Flags.version = Section.Version; in writeSectionContent()
446 Flags.isa_level = Section.ISALevel; in writeSectionContent()
447 Flags.isa_rev = Section.ISARevision; in writeSectionContent()
448 Flags.gpr_size = Section.GPRSize; in writeSectionContent()
449 Flags.cpr1_size = Section.CPR1Size; in writeSectionContent()
450 Flags.cpr2_size = Section.CPR2Size; in writeSectionContent()
451 Flags.fp_abi = Section.FpABI; in writeSectionContent()
452 Flags.isa_ext = Section.ISAExtension; in writeSectionContent()
453 Flags.ases = Section.ASEs; in writeSectionContent()
454 Flags.flags1 = Section.Flags1; in writeSectionContent()
455 Flags.flags2 = Section.Flags2; in writeSectionContent()