LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::ELFYAML::GnuHashSection Struct Reference

#include "llvm/ObjectYAML/ELFYAML.h"

Inheritance diagram for llvm::ELFYAML::GnuHashSection:
Inheritance graph
[legend]

Public Member Functions

 GnuHashSection ()
 
std::vector< std::pair< StringRef, bool > > getEntries () const override
 
- Public Member Functions inherited from llvm::ELFYAML::Section
 Section (ChunkKind Kind, bool IsImplicit=false)
 
virtual std::vector< std::pair< StringRef, bool > > getEntries () const
 
- Public Member Functions inherited from llvm::ELFYAML::Chunk
 Chunk (ChunkKind K, bool Implicit)
 
virtual ~Chunk ()
 

Static Public Member Functions

static bool classof (const Chunk *S)
 
- Static Public Member Functions inherited from llvm::ELFYAML::Section
static bool classof (const Chunk *S)
 

Public Attributes

std::optional< GnuHashHeaderHeader
 
std::optional< std::vector< llvm::yaml::Hex64 > > BloomFilter
 
std::optional< std::vector< llvm::yaml::Hex32 > > HashBuckets
 
std::optional< std::vector< llvm::yaml::Hex32 > > HashValues
 
- Public Attributes inherited from llvm::ELFYAML::Section
ELF_SHT Type
 
std::optional< ELF_SHF > Flags
 
std::optional< llvm::yaml::Hex64 > Address
 
std::optional< StringRefLink
 
llvm::yaml::Hex64 AddressAlign
 
std::optional< llvm::yaml::Hex64 > EntSize
 
std::optional< yaml::BinaryRefContent
 
std::optional< llvm::yaml::Hex64 > Size
 
unsigned OriginalSecNdx
 
std::optional< llvm::yaml::Hex64 > ShAddrAlign
 
std::optional< llvm::yaml::Hex64 > ShName
 
std::optional< llvm::yaml::Hex64 > ShOffset
 
std::optional< llvm::yaml::Hex64 > ShSize
 
std::optional< llvm::yaml::Hex64 > ShFlags
 
std::optional< ELF_SHT > ShType
 
- Public Attributes inherited from llvm::ELFYAML::Chunk
ChunkKind Kind
 
StringRef Name
 
std::optional< llvm::yaml::Hex64 > Offset
 
bool IsImplicit
 

Additional Inherited Members

- Public Types inherited from llvm::ELFYAML::Chunk
enum class  ChunkKind {
  Dynamic , Group , RawContent , Relocation ,
  Relr , NoBits , Note , Hash ,
  GnuHash , Verdef , Verneed , StackSizes ,
  SymtabShndxSection , Symver , ARMIndexTable , MipsABIFlags ,
  Addrsig , LinkerOptions , DependentLibraries , CallGraphProfile ,
  BBAddrMap , SpecialChunksStart , Fill = SpecialChunksStart , SectionHeaderTable
}
 

Detailed Description

Definition at line 457 of file ELFYAML.h.

Constructor & Destructor Documentation

◆ GnuHashSection()

llvm::ELFYAML::GnuHashSection::GnuHashSection ( )
inline

Definition at line 463 of file ELFYAML.h.

Member Function Documentation

◆ classof()

static bool llvm::ELFYAML::GnuHashSection::classof ( const Chunk S)
inlinestatic

Definition at line 472 of file ELFYAML.h.

References llvm::ELFYAML::Chunk::GnuHash, and llvm::ELFYAML::Chunk::Kind.

◆ getEntries()

std::vector< std::pair< StringRef, bool > > llvm::ELFYAML::GnuHashSection::getEntries ( ) const
inlineoverridevirtual

Reimplemented from llvm::ELFYAML::Section.

Definition at line 465 of file ELFYAML.h.

References BloomFilter, HashBuckets, HashValues, and Header.

Member Data Documentation

◆ BloomFilter

std::optional<std::vector<llvm::yaml::Hex64> > llvm::ELFYAML::GnuHashSection::BloomFilter

Definition at line 459 of file ELFYAML.h.

Referenced by getEntries().

◆ HashBuckets

std::optional<std::vector<llvm::yaml::Hex32> > llvm::ELFYAML::GnuHashSection::HashBuckets

Definition at line 460 of file ELFYAML.h.

Referenced by getEntries().

◆ HashValues

std::optional<std::vector<llvm::yaml::Hex32> > llvm::ELFYAML::GnuHashSection::HashValues

Definition at line 461 of file ELFYAML.h.

Referenced by getEntries().

◆ Header

std::optional<GnuHashHeader> llvm::ELFYAML::GnuHashSection::Header

Definition at line 458 of file ELFYAML.h.

Referenced by getEntries().


The documentation for this struct was generated from the following file: