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

#include "llvm/ObjectYAML/ELFYAML.h"

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

Public Member Functions

 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)
 

Public Attributes

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

Constructor & Destructor Documentation

◆ Section()

llvm::ELFYAML::Section::Section ( ChunkKind  Kind,
bool  IsImplicit = false 
)
inline

Definition at line 265 of file ELFYAML.h.

Member Function Documentation

◆ classof()

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

◆ getEntries()

virtual std::vector< std::pair< StringRef, bool > > llvm::ELFYAML::Section::getEntries ( ) const
inlinevirtual

Member Data Documentation

◆ Address

std::optional<llvm::yaml::Hex64> llvm::ELFYAML::Section::Address

Definition at line 254 of file ELFYAML.h.

◆ AddressAlign

llvm::yaml::Hex64 llvm::ELFYAML::Section::AddressAlign

Definition at line 256 of file ELFYAML.h.

◆ Content

std::optional<yaml::BinaryRef> llvm::ELFYAML::Section::Content

Definition at line 259 of file ELFYAML.h.

◆ EntSize

std::optional<llvm::yaml::Hex64> llvm::ELFYAML::Section::EntSize

Definition at line 257 of file ELFYAML.h.

◆ Flags

std::optional<ELF_SHF> llvm::ELFYAML::Section::Flags

Definition at line 253 of file ELFYAML.h.

◆ Link

std::optional<StringRef> llvm::ELFYAML::Section::Link

Definition at line 255 of file ELFYAML.h.

◆ OriginalSecNdx

unsigned llvm::ELFYAML::Section::OriginalSecNdx

Definition at line 263 of file ELFYAML.h.

◆ ShAddrAlign

std::optional<llvm::yaml::Hex64> llvm::ELFYAML::Section::ShAddrAlign

Definition at line 282 of file ELFYAML.h.

◆ ShFlags

std::optional<llvm::yaml::Hex64> llvm::ELFYAML::Section::ShFlags

Definition at line 297 of file ELFYAML.h.

◆ ShName

std::optional<llvm::yaml::Hex64> llvm::ELFYAML::Section::ShName

Definition at line 286 of file ELFYAML.h.

◆ ShOffset

std::optional<llvm::yaml::Hex64> llvm::ELFYAML::Section::ShOffset

Definition at line 290 of file ELFYAML.h.

◆ ShSize

std::optional<llvm::yaml::Hex64> llvm::ELFYAML::Section::ShSize

Definition at line 294 of file ELFYAML.h.

◆ ShType

std::optional<ELF_SHT> llvm::ELFYAML::Section::ShType

Definition at line 303 of file ELFYAML.h.

◆ Size

std::optional<llvm::yaml::Hex64> llvm::ELFYAML::Section::Size

Definition at line 260 of file ELFYAML.h.

◆ Type

ELF_SHT llvm::ELFYAML::Section::Type

Definition at line 252 of file ELFYAML.h.


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