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

References

include/llvm/Object/ELF.h
  483     Index = Sections[0].sh_link;
  633   auto SymTableOrErr = object::getSection<ELFT>(Sections, Section.sh_link);
  671   auto SectionOrErr = object::getSection<ELFT>(Sections, Sec.sh_link);
include/llvm/Object/ELFObjectFile.h
  461   auto StrTabOrErr = EF.getSection(SymTableSec->sh_link);
  836   auto SymSecOrErr = EF.getSection(RelSec->sh_link);
  881   SymbolData.d.a = sec->sh_link;
lib/ObjectYAML/ELFEmitter.cpp
  406       SHeader.sh_link = toSectionIndex(Sec->Link, Sec->Name);
  560     SHeader.sh_link = toSectionIndex(RawSec->Link, RawSec->Name);
  571     SHeader.sh_link = Link;
  746     SHeader.sh_link = SN2I.get(".symtab");
  853     SHeader.sh_link = Link;
 1030     SHeader.sh_link = Link;
tools/lld/ELF/InputFiles.cpp
  527         if (sec.sh_link != 0)
  600     if (sec.sh_link < this->sections.size())
  601       linkSec = this->sections[sec.sh_link];
  603       fatal(toString(this) + ": invalid sh_link index: " + Twine(sec.sh_link));
tools/lld/ELF/InputSection.cpp
  126                        getType(hdr.sh_type, name), hdr.sh_entsize, hdr.sh_link,
tools/lld/ELF/OutputSections.cpp
   63   shdr->sh_link = link;
tools/lld/ELF/Writer.cpp
 2575     sHdrs->sh_link = strTabIndex;
tools/llvm-objcopy/ELF/Object.cpp
   78   Shdr.sh_link = Sec.Link;
 1519     Sec.Link = Shdr.sh_link;
 1588     ShstrIndex = unwrapOrError(ElfFile.getSection(0))->sh_link;
 1766     Shdr.sh_link = Obj.SectionNames->Index;
 1768     Shdr.sh_link = 0;
tools/llvm-objdump/ELFDump.cpp
  320         unwrapOrError(Elf->getSection(Shdr.sh_link), FileName);
tools/llvm-readobj/ELFDumper.cpp
 2439     PltSymTable = unwrapOrError(FileName, Obj->getSection(PltRelSec->sh_link));
 2749   return to_string(ElfHeader->e_shstrndx) + " (" + to_string(Arr[0].sh_link) +
 2846         unwrapOrError(FileName, Obj->getSection(Sec.sh_link));
 2860                    Sec.sh_link,
 3028         unwrapOrError(this->FileName, Obj->getSection(Sec.sh_link));
 3222     Fields[8].Str = to_string(Sec.sh_link);
 3775       unwrapOrError(FileName, Obj->getSection(Sec->sh_link));
 3779      << "  Link: " << Sec->sh_link << " (" << SymTabName << ")\n";
 3866       unwrapOrError(this->FileName, Obj->getSection(Sec->sh_link));
 3914       unwrapOrError(this->FileName, Obj->getSection(Sec->sh_link));
 4845         unwrapOrError(this->FileName, EF->getSection(ElfSec->sh_link));
 4940         this->FileName, EF->getSection(StackSizesELFSec->sh_link)));
 5267       unwrapOrError(this->FileName, Obj->getSection(Sec->sh_link));
 5390     W.printNumber("Link", Sec.sh_link);
 5651       unwrapOrError(this->FileName, Obj->getSection(Sec->sh_link));
 5697       unwrapOrError(this->FileName, Obj->getSection(Sec->sh_link));
tools/obj2yaml/elf2yaml.cpp
  196     if (!SymTab || SymTabShndx->sh_link != SymTab - Sections.begin())
  429   auto StrTabSec = Obj.getSection(SymTab->sh_link);
  463   if (Shdr->sh_link != ELF::SHN_UNDEF) {
  464     auto LinkSection = Obj.getSection(Shdr->sh_link);
  563     Expected<StringRef> SymbolName = getSymbolName(Shdr->sh_link, SymNdx);
  607   auto SymTabOrErr = Obj.getSection(Shdr->sh_link);
  777   auto StringTableShdrOrErr = Obj.getSection(Shdr->sh_link);
  849   auto StringTableShdrOrErr = Obj.getSection(Shdr->sh_link);
  915   Expected<StringRef> SymbolName = getSymbolName(Shdr->sh_link, Shdr->sh_info);