Home | History | Annotate | Download | only in yaml2obj

Lines Matching refs:Sec

191   for (const auto &Sec : Doc.Sections)
192 DotShStrtab.add(Sec->Name);
195 for (const auto &Sec : Doc.Sections) {
197 SHeader.sh_name = DotShStrtab.getOffset(Sec->Name);
198 SHeader.sh_type = Sec->Type;
199 SHeader.sh_flags = Sec->Flags;
200 SHeader.sh_addr = Sec->Address;
201 SHeader.sh_addralign = Sec->AddressAlign;
203 if (!Sec->Link.empty()) {
205 if (SN2I.lookup(Sec->Link, Index)) {
206 errs() << "error: Unknown section referenced: '" << Sec->Link
207 << "' at YAML section '" << Sec->Name << "'.\n";
213 if (auto S = dyn_cast<ELFYAML::RawContentSection>(Sec.get()))
215 else if (auto S = dyn_cast<ELFYAML::RelocationSection>(Sec.get())) {