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

References

include/llvm/Object/ELF.h
  322   assert(Sym->st_shndx == ELF::SHN_XINDEX);
  338   uint32_t Index = Sym->st_shndx;
include/llvm/Object/ELFObjectFile.h
  501   if (ESym->st_shndx == ELF::SHN_ABS)
  518   switch (ESym->st_shndx) {
  546   if (Sym->st_shndx == ELF::SHN_COMMON)
  620   if (ESym->st_shndx == ELF::SHN_ABS)
  647   if (ESym->st_shndx == ELF::SHN_UNDEF)
  650   if (ESym->getType() == ELF::STT_COMMON || ESym->st_shndx == ELF::SHN_COMMON)
include/llvm/Object/ELFTypes.h
  216   bool isAbsolute() const { return st_shndx == ELF::SHN_ABS; }
  219     return getType() == ELF::STT_COMMON || st_shndx == ELF::SHN_COMMON;
  225     return st_shndx >= ELF::SHN_LOPROC && st_shndx <= ELF::SHN_HIPROC;
  225     return st_shndx >= ELF::SHN_LOPROC && st_shndx <= ELF::SHN_HIPROC;
  229     return st_shndx >= ELF::SHN_LOOS && st_shndx <= ELF::SHN_HIOS;
  229     return st_shndx >= ELF::SHN_LOOS && st_shndx <= ELF::SHN_HIOS;
  235     return st_shndx >= ELF::SHN_LORESERVE;
  238   bool isUndefined() const { return st_shndx == ELF::SHN_UNDEF; }
lib/ObjectYAML/ELFEmitter.cpp
  510       Symbol.st_shndx = toSectionIndex(Sym.Section, "", Sym.Name);
  512       Symbol.st_shndx = *Sym.Index;
tools/lld/ELF/InputFiles.cpp
 1020       if (eSym.st_shndx == SHN_UNDEF)
 1032     if (eSym.st_shndx == SHN_UNDEF) {
 1039     if (eSym.st_shndx == SHN_COMMON) {
 1146   if (0 < sym.st_shndx && sym.st_shndx < sections.size())
 1146   if (0 < sym.st_shndx && sym.st_shndx < sections.size())
 1147     ret = std::min<uint64_t>(ret, sections[sym.st_shndx].sh_addralign);
 1537       if (eSyms[i].st_shndx != SHN_UNDEF)
tools/lld/ELF/Relocations.cpp
  485     if (s.st_shndx == SHN_UNDEF || s.st_shndx == SHN_ABS ||
  485     if (s.st_shndx == SHN_UNDEF || s.st_shndx == SHN_ABS ||
tools/lld/ELF/SyntheticSections.cpp
 2138       eSym->st_shndx = getSymSectionIndex(ent.sym);
 2140       eSym->st_shndx = 0;
 2147     if (eSym->st_shndx == SHN_UNDEF || !isDefinedHere)
tools/llvm-objcopy/ELF/Object.cpp
  791     Sym->st_shndx = Symbol->getShndx();
 1369     if (Sym.st_shndx == SHN_XINDEX) {
 1386     } else if (Sym.st_shndx >= SHN_LORESERVE) {
 1387       if (!isValidReservedSectionIndex(Sym.st_shndx, Obj.Machine)) {
 1391             Twine(Sym.st_shndx));
 1393     } else if (Sym.st_shndx != SHN_UNDEF) {
 1395           Sym.st_shndx, "symbol '" + Name +
 1397                             Twine(Sym.st_shndx));
 1401                       Sym.getValue(), Sym.st_other, Sym.st_shndx, Sym.st_size);
tools/llvm-readobj/ELFDumper.cpp
  841   SectionIndex = Symbol->st_shndx;
 3274   unsigned SectionIndex = Symbol->st_shndx;
tools/obj2yaml/elf2yaml.cpp
  391   if (Sym->st_shndx >= ELF::SHN_LORESERVE) {
  392     S.Index = (ELFYAML::ELF_SHN)Sym->st_shndx;