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

#include "llvm/ObjectYAML/ELFYAML.h"

Inheritance diagram for llvm::ELFYAML::SectionHeaderTable:
Inheritance graph
[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 318 of file ELFYAML.h.

Constructor & Destructor Documentation

◆ SectionHeaderTable()

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

Definition at line 319 of file ELFYAML.h.

Member Function Documentation

◆ classof()

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

◆ getNumHeaders()

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

Definition at line 330 of file ELFYAML.h.

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

◆ isDefault()

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

Definition at line 338 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 327 of file ELFYAML.h.

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

◆ NoHeaders

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

Definition at line 328 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 326 of file ELFYAML.h.

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

◆ TypeStr

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

Definition at line 340 of file ELFYAML.h.


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