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

References

include/llvm/Object/ELF.h
  393   if (Sec->sh_entsize != sizeof(T) && sizeof(T) != 1)
  395                        " has an invalid sh_entsize: " + Twine(Sec->sh_entsize));
  404                        Twine(Sec->sh_entsize) + ")");
  567   if (sizeof(T) != Section->sh_entsize)
  570                        ", but got " + Twine(Section->sh_entsize));
include/llvm/Object/ELFObjectFile.h
  840   RelData.d.b += S->sh_size / S->sh_entsize;
include/llvm/Object/ELFTypes.h
  156     if (sh_entsize == 0)
  158     return sh_size / sh_entsize;
lib/ObjectYAML/ELFEmitter.cpp
  417         SHeader.sh_entsize = *Sec->EntSize;
  429       SHeader.sh_entsize = 0;
  583   SHeader.sh_entsize = (YAMLSec && YAMLSec->EntSize)
  624     SHeader.sh_entsize = *YAMLSec->EntSize;
  716     SHeader.sh_entsize = *Section.EntSize;
  718     SHeader.sh_entsize = sizeof(Elf_Relr);
  720     SHeader.sh_entsize = 0;
  741   SHeader.sh_entsize = IsRela ? sizeof(Elf_Rela) : sizeof(Elf_Rel);
  742   SHeader.sh_size = SHeader.sh_entsize * Section.Relocations.size();
  783   SHeader.sh_entsize = Shndx.EntSize ? (uint64_t)*Shndx.EntSize : 4;
  784   SHeader.sh_size = Shndx.Entries.size() * SHeader.sh_entsize;
  794   SHeader.sh_entsize = 4;
  795   SHeader.sh_size = SHeader.sh_entsize * Section.Members.size();
  821   SHeader.sh_entsize = Section.EntSize ? (uint64_t)*Section.EntSize : 2;
  822   SHeader.sh_size = Section.Entries.size() * SHeader.sh_entsize;
  970   SHeader.sh_entsize = sizeof(Flags);
  971   SHeader.sh_size = SHeader.sh_entsize;
 1007     SHeader.sh_entsize = *Section.EntSize;
 1009     SHeader.sh_entsize = sizeof(Elf_Dyn);
tools/lld/ELF/InputFiles.cpp
  446   uint64_t entSize = sec.sh_entsize;
tools/lld/ELF/InputSection.cpp
  126                        getType(hdr.sh_type, name), hdr.sh_entsize, hdr.sh_link,
tools/lld/ELF/OutputSections.cpp
   57   shdr->sh_entsize = entsize;
tools/llvm-objcopy/ELF/Object.cpp
   81   Shdr.sh_entsize = Sec.EntrySize;
 1522     Sec.EntrySize = Shdr.sh_entsize;
 1771   Shdr.sh_entsize = 0;
tools/llvm-readobj/ELFDumper.cpp
  214                      S->sh_entsize, ObjF->getFileName()});
 3220     Fields[6].Str = to_string(format_hex_no_prefix(Sec.sh_entsize, 2));
 5393     W.printNumber("EntrySize", Sec.sh_entsize);
tools/obj2yaml/elf2yaml.cpp
  455   if (Shdr->sh_entsize)
  456     S.EntSize = static_cast<llvm::yaml::Hex64>(Shdr->sh_entsize);