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

#include "llvm/ObjectYAML/ELFYAML.h"

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

Public Member Functions

std::vector< std::pair< StringRef, bool > > getEntries () const override
 
 HashSection ()
 
- 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< std::vector< uint32_t > > Bucket
 
std::optional< std::vector< uint32_t > > Chain
 
std::optional< llvm::yaml::Hex64 > NBucket
 
std::optional< llvm::yaml::Hex64 > NChain
 
- 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 419 of file ELFYAML.h.

Constructor & Destructor Documentation

◆ HashSection()

llvm::ELFYAML::HashSection::HashSection ( )
inline

Definition at line 432 of file ELFYAML.h.

Member Function Documentation

◆ classof()

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

Definition at line 434 of file ELFYAML.h.

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

◆ getEntries()

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

Reimplemented from llvm::ELFYAML::Section.

Definition at line 423 of file ELFYAML.h.

References Bucket, and Chain.

Member Data Documentation

◆ Bucket

std::optional<std::vector<uint32_t> > llvm::ELFYAML::HashSection::Bucket

Definition at line 420 of file ELFYAML.h.

Referenced by getEntries().

◆ Chain

std::optional<std::vector<uint32_t> > llvm::ELFYAML::HashSection::Chain

Definition at line 421 of file ELFYAML.h.

Referenced by getEntries().

◆ NBucket

std::optional<llvm::yaml::Hex64> llvm::ELFYAML::HashSection::NBucket

Definition at line 429 of file ELFYAML.h.

◆ NChain

std::optional<llvm::yaml::Hex64> llvm::ELFYAML::HashSection::NChain

Definition at line 430 of file ELFYAML.h.


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