Home | History | Annotate | Download | only in yaml2obj

Lines Matching refs:Sec

194   for (const auto &Sec : Doc.Sections)
195 DotShStrtab.add(Sec->Name);
198 for (const auto &Sec : Doc.Sections) {
200 SHeader.sh_name = DotShStrtab.getOffset(Sec->Name);
201 SHeader.sh_type = Sec->Type;
202 SHeader.sh_flags = Sec->Flags;
203 SHeader.sh_addr = Sec->Address;
204 SHeader.sh_addralign = Sec->AddressAlign;
206 if (!Sec->Link.empty()) {
208 if (SN2I.lookup(Sec->Link, Index)) {
209 errs() << "error: Unknown section referenced: '" << Sec->Link
210 << "' at YAML section '" << Sec->Name << "'.\n";
216 if (auto S = dyn_cast<ELFYAML::RawContentSection>(Sec.get()))
218 else if (auto S = dyn_cast<ELFYAML::RelocationSection>(Sec.get())) {
235 } else if (auto S = dyn_cast<ELFYAML::Group>(Sec.get())) {
245 } else if (auto S = dyn_cast<ELFYAML::MipsABIFlags>(Sec.get())) {
248 } else if (auto S = dyn_cast<ELFYAML::NoBitsSection>(Sec.get())) {