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

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

Optional< ELF_SHF > Flags
Optional< llvm::yaml::Hex64 > Address
Optional< StringRefLink
llvm::yaml::Hex64 AddressAlign
Optional< llvm::yaml::Hex64 > EntSize
Optional< yaml::BinaryRefContent
Optional< llvm::yaml::Hex64 > Size
unsigned OriginalSecNdx
Optional< llvm::yaml::Hex64 > ShAddrAlign
Optional< llvm::yaml::Hex64 > ShName
Optional< llvm::yaml::Hex64 > ShOffset
Optional< llvm::yaml::Hex64 > ShSize
Optional< llvm::yaml::Hex64 > ShFlags
Optional< ELF_SHT > ShType
- Public Attributes inherited from llvm::ELFYAML::Chunk
ChunkKind Kind
StringRef Name
Optional< llvm::yaml::Hex64 > Offset
bool IsImplicit

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

Constructor & Destructor Documentation

◆ Section()

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

Definition at line 238 of file ELFYAML.h.

Member Function Documentation

◆ classof()

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

Definition at line 240 of file ELFYAML.h.

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

◆ getEntries()

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

Member Data Documentation

◆ Address

Optional<llvm::yaml::Hex64> llvm::ELFYAML::Section::Address

Definition at line 227 of file ELFYAML.h.

◆ AddressAlign

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

Definition at line 229 of file ELFYAML.h.

◆ Content

Optional<yaml::BinaryRef> llvm::ELFYAML::Section::Content

◆ EntSize

Optional<llvm::yaml::Hex64> llvm::ELFYAML::Section::EntSize

Definition at line 230 of file ELFYAML.h.

◆ Flags

Optional<ELF_SHF> llvm::ELFYAML::Section::Flags

Definition at line 226 of file ELFYAML.h.

◆ Link

Optional<StringRef> llvm::ELFYAML::Section::Link

Definition at line 228 of file ELFYAML.h.

◆ OriginalSecNdx

unsigned llvm::ELFYAML::Section::OriginalSecNdx

Definition at line 236 of file ELFYAML.h.

◆ ShAddrAlign

Optional<llvm::yaml::Hex64> llvm::ELFYAML::Section::ShAddrAlign

Definition at line 249 of file ELFYAML.h.

◆ ShFlags

Optional<llvm::yaml::Hex64> llvm::ELFYAML::Section::ShFlags

Definition at line 270 of file ELFYAML.h.

◆ ShName

Optional<llvm::yaml::Hex64> llvm::ELFYAML::Section::ShName

Definition at line 259 of file ELFYAML.h.

◆ ShOffset

Optional<llvm::yaml::Hex64> llvm::ELFYAML::Section::ShOffset

Definition at line 263 of file ELFYAML.h.

◆ ShSize

Optional<llvm::yaml::Hex64> llvm::ELFYAML::Section::ShSize

Definition at line 267 of file ELFYAML.h.

◆ ShType

Optional<ELF_SHT> llvm::ELFYAML::Section::ShType

Definition at line 276 of file ELFYAML.h.

◆ Size

Optional<llvm::yaml::Hex64> llvm::ELFYAML::Section::Size

◆ Type

ELF_SHT llvm::ELFYAML::Section::Type

Definition at line 225 of file ELFYAML.h.

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