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

References

tools/lld/ELF/Driver.cpp
 1425     s->replace(Defined{s->file, s->getName(), s->binding, s->stOther, s->type,
 1441     s->replace(Undefined{nullptr, s->getName(), STB_WEAK, s->stOther, s->type});
tools/lld/ELF/InputSection.cpp
  287       if (d->section == this && d->type == STT_FUNC && d->value <= offset &&
  429     if (sym.type == STT_SECTION) {
 1062     if (rel.sym->type != STT_FUNC)
tools/lld/ELF/LTO.cpp
  203                              sym->type});
tools/lld/ELF/MarkLive.cpp
  302         if ((d->type == STT_GNU_IFUNC || d->type == STT_TLS) && d->section &&
  302         if ((d->type == STT_GNU_IFUNC || d->type == STT_TLS) && d->section &&
tools/lld/ELF/Relocations.cpp
  506                       sym.type, value, size, sec});
  661   if (sym.type == ELF::STT_SECTION) {
 1367       d.type = STT_FUNC;
tools/lld/ELF/Symbols.cpp
  421       type = other.type;
  421       type = other.type;
  636     uint8_t ty = type;
  638     type = ty;
tools/lld/ELF/Symbols.h
  277   bool isSection() const { return type == llvm::ELF::STT_SECTION; }
  278   bool isTls() const { return type == llvm::ELF::STT_TLS; }
  279   bool isFunc() const { return type == llvm::ELF::STT_FUNC; }
  280   bool isGnuIFunc() const { return type == llvm::ELF::STT_GNU_IFUNC; }
  281   bool isObject() const { return type == llvm::ELF::STT_OBJECT; }
  282   bool isFile() const { return type == llvm::ELF::STT_FILE; }
  373     if (this->type == llvm::ELF::STT_GNU_IFUNC)
  374       this->type = llvm::ELF::STT_FUNC;
  530       (type == STT_TLS) != (newSym.type == STT_TLS))
  530       (type == STT_TLS) != (newSym.type == STT_TLS))
tools/lld/ELF/SyntheticSections.cpp
 2072       if (e.sym->type == STT_SECTION)
 2081   if (sym->type == STT_SECTION)
 2125       eSym->setBindingAndType(STB_LOCAL, sym->type);
 2127       eSym->setBindingAndType(sym->computeBinding(), sym->type);