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

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

#include "llvm/ObjectYAML/ELFYAML.h"

Inheritance diagram for llvm::ELFYAML::SectionHeaderTable:
[legend]

Public Member Functions

 SectionHeaderTable (bool IsImplicit)
size_t getNumHeaders (size_t SectionsNum) const
bool isDefault () 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)

Public Attributes

std::optional< std::vector< SectionHeader > > Sections
std::optional< std::vector< SectionHeader > > Excluded
std::optional< boolNoHeaders
Public Attributes inherited from llvm::ELFYAML::Chunk
ChunkKind Kind
StringRef Name
std::optional< llvm::yaml::Hex64 > Offset
bool IsImplicit

Static Public Attributes

static constexpr StringRef TypeStr = "SectionHeaderTable"

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 333 of file ELFYAML.h.

Constructor & Destructor Documentation

◆ SectionHeaderTable()

llvm::ELFYAML::SectionHeaderTable::SectionHeaderTable ( bool IsImplicit)
inline

Member Function Documentation

◆ classof()

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

◆ getNumHeaders()

size_t llvm::ELFYAML::SectionHeaderTable::getNumHeaders ( size_t SectionsNum) const
inline

Definition at line 345 of file ELFYAML.h.

References isDefault(), llvm::ELFYAML::Chunk::IsImplicit, NoHeaders, and Sections.

◆ isDefault()

bool llvm::ELFYAML::SectionHeaderTable::isDefault ( ) const
inline

Definition at line 353 of file ELFYAML.h.

References Excluded, NoHeaders, and Sections.

Referenced by getNumHeaders().

Member Data Documentation

◆ Excluded

std::optional<std::vector<SectionHeader> > llvm::ELFYAML::SectionHeaderTable::Excluded

Definition at line 342 of file ELFYAML.h.

Referenced by isDefault(), and llvm::yaml::sectionHeaderTableMapping().

◆ NoHeaders

std::optional<bool> llvm::ELFYAML::SectionHeaderTable::NoHeaders

Definition at line 343 of file ELFYAML.h.

Referenced by getNumHeaders(), isDefault(), and llvm::yaml::sectionHeaderTableMapping().

◆ Sections

std::optional<std::vector<SectionHeader> > llvm::ELFYAML::SectionHeaderTable::Sections

Definition at line 341 of file ELFYAML.h.

Referenced by getNumHeaders(), isDefault(), and llvm::yaml::sectionHeaderTableMapping().

◆ TypeStr

StringRef llvm::ELFYAML::SectionHeaderTable::TypeStr = "SectionHeaderTable"
staticconstexpr

Definition at line 355 of file ELFYAML.h.


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