reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/ObjectYAML/ELFEmitter.cpp
  208   for (std::unique_ptr<ELFYAML::Section> &D : Doc.Sections) {
  215       if (!Doc.Symbols && D->Link.empty())
  216         Doc.Symbols.emplace();
  220   if (Doc.Sections.empty() || Doc.Sections.front()->Type != ELF::SHT_NULL)
  220   if (Doc.Sections.empty() || Doc.Sections.front()->Type != ELF::SHT_NULL)
  221     Doc.Sections.insert(
  222         Doc.Sections.begin(),
  227   if (Doc.Symbols)
  231   if (!Doc.DynamicSymbols.empty())
  243     Doc.Sections.push_back(std::move(Sec));
  258   Header.e_ident[EI_DATA] = Doc.Header.Data;
  260   Header.e_ident[EI_OSABI] = Doc.Header.OSABI;
  261   Header.e_ident[EI_ABIVERSION] = Doc.Header.ABIVersion;
  262   Header.e_type = Doc.Header.Type;
  263   Header.e_machine = Doc.Header.Machine;
  265   Header.e_entry = Doc.Header.Entry;
  266   Header.e_phoff = Doc.ProgramHeaders.size() ? sizeof(Header) : 0;
  267   Header.e_flags = Doc.Header.Flags;
  269   Header.e_phentsize = Doc.ProgramHeaders.size() ? sizeof(Elf_Phdr) : 0;
  270   Header.e_phnum = Doc.ProgramHeaders.size();
  273       Doc.Header.SHEntSize ? (uint16_t)*Doc.Header.SHEntSize : sizeof(Elf_Shdr);
  273       Doc.Header.SHEntSize ? (uint16_t)*Doc.Header.SHEntSize : sizeof(Elf_Shdr);
  279       Doc.Header.SHOff ? typename ELFT::uint(*Doc.Header.SHOff) : SHOff;
  279       Doc.Header.SHOff ? typename ELFT::uint(*Doc.Header.SHOff) : SHOff;
  281       Doc.Header.SHNum ? (uint16_t)*Doc.Header.SHNum : Doc.Sections.size();
  281       Doc.Header.SHNum ? (uint16_t)*Doc.Header.SHNum : Doc.Sections.size();
  281       Doc.Header.SHNum ? (uint16_t)*Doc.Header.SHNum : Doc.Sections.size();
  282   Header.e_shstrndx = Doc.Header.SHStrNdx ? (uint16_t)*Doc.Header.SHStrNdx
  282   Header.e_shstrndx = Doc.Header.SHStrNdx ? (uint16_t)*Doc.Header.SHStrNdx
  290   for (const auto &YamlPhdr : Doc.ProgramHeaders) {
  378   SHeaders.resize(Doc.Sections.size());
  380   for (size_t I = 0; I < Doc.Sections.size(); ++I) {
  381     ELFYAML::Section *Sec = Doc.Sections[I].get();
  530   if (IsStatic && Doc.Symbols)
  531     Symbols = *Doc.Symbols;
  533     Symbols = Doc.DynamicSymbols;
  649   for (auto &YamlPhdr : Doc.ProgramHeaders) {
  761       REntry.setSymbolAndType(SymIdx, Rel.Type, isMips64EL(Doc));
  767       REntry.setSymbolAndType(SymIdx, Rel.Type, isMips64EL(Doc));
 1095   for (unsigned I = 0, E = Doc.Sections.size(); I != E; ++I) {
 1096     StringRef Name = Doc.Sections[I]->Name;
 1118   if (Doc.Symbols)
 1119     Build(*Doc.Symbols, SymN2I);
 1120   Build(Doc.DynamicSymbols, DynSymN2I);
 1125   if (Doc.Symbols)
 1126     for (const ELFYAML::Symbol &Sym : *Doc.Symbols)
 1131   for (const ELFYAML::Symbol &Sym : Doc.DynamicSymbols)
 1136   for (const std::unique_ptr<ELFYAML::Section> &Sec : Doc.Sections) {