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

Overridden By

tools/lld/ELF/SyntheticSections.cpp
  645 bool GotSection::isNeeded() const {
 1001 bool MipsGotSection::isNeeded() const {
 1112 bool GotPltSection::isNeeded() const {
 2217 bool SymtabShndxSection::isNeeded() const {
 2804 bool GdbIndexSection::isNeeded() const { return !chunks.empty(); }
 2848 bool EhFrameHeader::isNeeded() const {
 2938 bool VersionTableSection::isNeeded() const {
 3026 template <class ELFT> bool VersionNeedSection<ELFT>::isNeeded() const {
 3343 bool ARMExidxSyntheticSection::isNeeded() const {
 3394 bool PPC32Got2Section::isNeeded() const {
 3458 bool PPC64LongBranchTargetSection::isNeeded() const {
tools/lld/ELF/SyntheticSections.h
   72   bool isNeeded() const override { return !sections.empty(); }
  187   bool isNeeded() const override { return size != 0; }
  397   bool isNeeded() const override { return !entries.empty(); }
  498   bool isNeeded() const override { return !relocs.empty(); }
  550   bool isNeeded() const override { return !relocs.empty(); }
  674   bool isNeeded() const override { return !entries.empty(); }
  831   bool isNeeded() const override;

References

tools/lld/ELF/SyntheticSections.cpp
 2939   return getPartition().verDef || getPartition().verNeed->isNeeded();
tools/lld/ELF/Writer.cpp
 1603   if (sec && sec->isNeeded() && sec->getParent())
 1628     if (!os || ss->isNeeded())