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

References

tools/lld/ELF/Driver.cpp
 1863     if (s->type == SHT_LLVM_SYMPART) {
tools/lld/ELF/InputFiles.cpp
  785   return make<InputSection>(sec->file, sec->flags, sec->type, sec->alignment,
tools/lld/ELF/InputSection.cpp
  399   if (!file || (type != SHT_RELA && type != SHT_REL))
  399   if (!file || (type != SHT_RELA && type != SHT_REL))
 1095   if (type == SHT_NOBITS)
 1105   if (type == SHT_RELA) {
 1109   if (type == SHT_REL) {
 1115   if (type == SHT_GROUP) {
tools/lld/ELF/LinkerScript.cpp
  579   if (isec->type == SHT_GROUP || (isec->flags & SHF_GROUP))
  589       (isec->type == SHT_REL || isec->type == SHT_RELA)) {
  589       (isec->type == SHT_REL || isec->type == SHT_RELA)) {
  732       (ctx->outSec->flags & SHF_TLS) && ctx->outSec->type == SHT_NOBITS;
tools/lld/ELF/MarkLive.cpp
  165   switch (sec->type) {
  359     bool isRel = (sec->type == SHT_REL || sec->type == SHT_RELA);
  359     bool isRel = (sec->type == SHT_REL || sec->type == SHT_RELA);
tools/lld/ELF/OutputSections.cpp
   59   shdr->sh_type = type;
  112     type = isec->type;
  112     type = isec->type;
  123     if (type != isec->type) {
  123     if (type != isec->type) {
  124       if (!canMergeToProgbits(type) || !canMergeToProgbits(isec->type))
  124       if (!canMergeToProgbits(type) || !canMergeToProgbits(isec->type))
  127               getELFSectionTypeName(config->emachine, isec->type) +
  129               getELFSectionTypeName(config->emachine, type));
  130       type = SHT_PROGBITS;
  134     type = SHT_NOBITS;
  197             createMergeSynthetic(name, ms->type, ms->flags, ms->alignment);
  297   if (type == SHT_NOBITS)
  369   if (type == SHT_GROUP) {
  374   if (!config->copyRelocs || (type != SHT_RELA && type != SHT_REL))
  374   if (!config->copyRelocs || (type != SHT_RELA && type != SHT_REL))
tools/lld/ELF/SyntheticSections.cpp
  107     if (sec->type != SHT_MIPS_ABIFLAGS)
  174     if (sec->type == SHT_MIPS_OPTIONS)
  231     if (sec->type == SHT_MIPS_REGINFO)
 1089     type = SHT_NOBITS;
 1995   if (this->type != SHT_DYNSYM) {
 2056   assert(this->type != SHT_DYNSYM || !b->isLocal());
 2120     bool isDefinedHere = type == SHT_SYMTAB || sym->partition == partition;
 3155     if (d->type == SHT_ARM_EXIDX)
 3166   if (isec->type == SHT_ARM_EXIDX) {
 3185   if (config->emitRelocs && isec->type == SHT_REL)
 3187       if (isa<InputSection>(ex) && ex->type == SHT_ARM_EXIDX)
 3350   return d->kind() == InputSectionBase::Synthetic && d->type == SHT_ARM_EXIDX;
tools/lld/ELF/Writer.cpp
  104       if (s->type == SHT_RELA)
  162       if (s->type == SHT_NOTE)
  719     if (isec->type == SHT_REL || isec->type == SHT_RELA)
  719     if (isec->type == SHT_REL || isec->type == SHT_RELA)
  768   uint32_t type = sec->type;
  855   if (sec->type == SHT_LLVM_PART_EHDR)
  859   if (sec->type == SHT_LLVM_PART_PHDR)
  873   if (sec->type == SHT_NOTE)
  898   } else if (sec->type == SHT_PROGBITS) {
  925   if (sec->type == SHT_NOBITS)
 1080       if (os->type != SHT_NOBITS)
 1514         sec->type == SHT_ARM_EXIDX)
 2027   if ((sec->flags & SHF_TLS) && sec->type == SHT_NOBITS)
 2197     if (sec->type == SHT_NOTE && (sec->flags & SHF_ALLOC)) {
 2213     return cmd->partition == partNo && cmd->type == shType;
 2247           cmd->type == SHT_LLVM_PART_EHDR)
 2300    if (os->type == SHT_NOBITS)
 2319   if (os->type == SHT_NOBITS)
 2372     if (sec->type == SHT_NOBITS)
 2390       if (last->type != SHT_NOBITS)
 2475     if (sec->size > 0 && sec->type != SHT_NOBITS &&
 2656     if (sec->type == SHT_REL || sec->type == SHT_RELA)
 2656     if (sec->type == SHT_REL || sec->type == SHT_RELA)
 2660     if (sec->type != SHT_REL && sec->type != SHT_RELA)
 2660     if (sec->type != SHT_REL && sec->type != SHT_RELA)