LLVM  16.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
Collaboration diagram for llvm::ELFYAML::SectionHeaderTable:
Collaboration graph

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

Optional< std::vector< SectionHeader > > Sections
Optional< std::vector< SectionHeader > > Excluded
Optional< bool > NoHeaders
- Public Attributes inherited from llvm::ELFYAML::Chunk
ChunkKind Kind
StringRef Name
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  ChunkKind {
  ChunkKind::Dynamic, ChunkKind::Group, ChunkKind::RawContent, ChunkKind::Relocation,
  ChunkKind::Relr, ChunkKind::NoBits, ChunkKind::Note, ChunkKind::Hash,
  ChunkKind::GnuHash, ChunkKind::Verdef, ChunkKind::Verneed, ChunkKind::StackSizes,
  ChunkKind::SymtabShndxSection, ChunkKind::Symver, ChunkKind::ARMIndexTable, ChunkKind::MipsABIFlags,
  ChunkKind::Addrsig, ChunkKind::LinkerOptions, ChunkKind::DependentLibraries, ChunkKind::CallGraphProfile,
  ChunkKind::BBAddrMap, ChunkKind::SpecialChunksStart, ChunkKind::Fill = SpecialChunksStart, ChunkKind::SectionHeaderTable

Detailed Description

Definition at line 291 of file ELFYAML.h.

Constructor & Destructor Documentation

◆ SectionHeaderTable()

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

Definition at line 292 of file ELFYAML.h.

Member Function Documentation

◆ classof()

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

Definition at line 295 of file ELFYAML.h.

References S, and llvm::ELFYAML::Chunk::SectionHeaderTable.

◆ getNumHeaders()

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

Definition at line 303 of file ELFYAML.h.

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

◆ isDefault()

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

Definition at line 311 of file ELFYAML.h.

References Excluded, NoHeaders, and Sections.

Referenced by getNumHeaders().

Member Data Documentation

◆ Excluded

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

Definition at line 300 of file ELFYAML.h.

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

◆ NoHeaders

Optional<bool> llvm::ELFYAML::SectionHeaderTable::NoHeaders

Definition at line 301 of file ELFYAML.h.

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

◆ Sections

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

Definition at line 299 of file ELFYAML.h.

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

◆ TypeStr

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

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