Lines Matching defs:Sec
314 const ELFYAML::Section &Sec = Sections[i];
317 SHeader.sh_name = SHStrTab.addString(Sec.Name);
318 SHeader.sh_type = Sec.Type;
319 SHeader.sh_flags = Sec.Flags;
320 SHeader.sh_addr = Sec.Address;
322 Sec.Content.writeAsBinary(CBA.getOSAndAlignedOffset(SHeader.sh_offset));
323 SHeader.sh_size = Sec.Content.binary_size();
325 if (!Sec.Link.empty()) {
327 if (SN2I.lookupSection(Sec.Link, Index)) {
328 errs() << "error: Unknown section referenced: '" << Sec.Link
335 SHeader.sh_addralign = Sec.AddressAlign;