Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
llvm::ELFYAML::HashSection Struct Reference

#include "llvm/ObjectYAML/ELFYAML.h"

Inheritance diagram for llvm::ELFYAML::HashSection:
[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)
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 434 of file ELFYAML.h.

Constructor & Destructor Documentation

◆ HashSection()

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

Definition at line 447 of file ELFYAML.h.

References llvm::ELFYAML::Chunk::Hash, and llvm::ELFYAML::Section::Section().

Member Function Documentation

◆ classof()

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

Definition at line 449 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 438 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 435 of file ELFYAML.h.

Referenced by getEntries().

◆ Chain

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

Definition at line 436 of file ELFYAML.h.

Referenced by getEntries().

◆ NBucket

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

Definition at line 444 of file ELFYAML.h.

◆ NChain

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

Definition at line 445 of file ELFYAML.h.


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