LLVM  11.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]
Collaboration diagram for llvm::ELFYAML::Section:
Collaboration graph
[legend]

Public Member Functions

 Section (ChunkKind Kind, bool IsImplicit=false)
 
- Public Member Functions inherited from llvm::ELFYAML::Chunk
 Chunk (ChunkKind K)
 
virtual ~Chunk ()
 

Static Public Member Functions

static bool classof (const Chunk *S)
 

Public Attributes

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

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::MipsABIFlags, ChunkKind::Addrsig,
  ChunkKind::Fill, ChunkKind::LinkerOptions, ChunkKind::DependentLibraries, ChunkKind::CallGraphProfile
}
 

Detailed Description

Definition at line 169 of file ELFYAML.h.

Constructor & Destructor Documentation

◆ Section()

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

Definition at line 184 of file ELFYAML.h.

Member Function Documentation

◆ classof()

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

Definition at line 187 of file ELFYAML.h.

References llvm::ELFYAML::Chunk::Kind.

Member Data Documentation

◆ Address

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

Definition at line 172 of file ELFYAML.h.

Referenced by llvm::yaml::commonSectionMapping(), and llvm::ELFYAML::dropUniqueSuffix().

◆ AddressAlign

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

◆ EntSize

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

◆ Flags

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

◆ IsImplicit

bool llvm::ELFYAML::Section::IsImplicit

Definition at line 179 of file ELFYAML.h.

Referenced by llvm::ELFYAML::dropUniqueSuffix().

◆ Link

StringRef llvm::ELFYAML::Section::Link

◆ OriginalSecNdx

unsigned llvm::ELFYAML::Section::OriginalSecNdx

Definition at line 182 of file ELFYAML.h.

◆ ShFlags

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

Definition at line 205 of file ELFYAML.h.

Referenced by llvm::yaml::commonSectionMapping(), and overrideFields().

◆ ShName

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

Definition at line 194 of file ELFYAML.h.

Referenced by llvm::yaml::commonSectionMapping(), and overrideFields().

◆ ShOffset

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

Definition at line 198 of file ELFYAML.h.

Referenced by llvm::yaml::commonSectionMapping(), and overrideFields().

◆ ShSize

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

Definition at line 202 of file ELFYAML.h.

Referenced by llvm::yaml::commonSectionMapping(), and overrideFields().

◆ Type

ELF_SHT llvm::ELFYAML::Section::Type

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