LLVM  14.0.0git
Public Types | Public Member Functions | Public Attributes | List of all members
llvm::ELFYAML::Chunk Struct Reference

#include "llvm/ObjectYAML/ELFYAML.h"

Inheritance diagram for llvm::ELFYAML::Chunk:
Inheritance graph
[legend]
Collaboration diagram for llvm::ELFYAML::Chunk:
Collaboration graph
[legend]

Public Types

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
}
 

Public Member Functions

 Chunk (ChunkKind K, bool Implicit)
 
virtual ~Chunk ()
 

Public Attributes

ChunkKind Kind
 
StringRef Name
 
Optional< llvm::yaml::Hex64 > Offset
 
bool IsImplicit
 

Detailed Description

Definition at line 180 of file ELFYAML.h.

Member Enumeration Documentation

◆ ChunkKind

Enumerator
Dynamic 
Group 
RawContent 
Relocation 
Relr 
NoBits 
Note 
Hash 
GnuHash 
Verdef 
Verneed 
StackSizes 
SymtabShndxSection 
Symver 
ARMIndexTable 
MipsABIFlags 
Addrsig 
LinkerOptions 
DependentLibraries 
CallGraphProfile 
BBAddrMap 
SpecialChunksStart 
Fill 
SectionHeaderTable 

Definition at line 181 of file ELFYAML.h.

Constructor & Destructor Documentation

◆ Chunk()

llvm::ELFYAML::Chunk::Chunk ( ChunkKind  K,
bool  Implicit 
)
inline

Definition at line 218 of file ELFYAML.h.

◆ ~Chunk()

llvm::ELFYAML::Chunk::~Chunk ( )
virtualdefault

Member Data Documentation

◆ IsImplicit

bool llvm::ELFYAML::Chunk::IsImplicit

Definition at line 216 of file ELFYAML.h.

Referenced by llvm::ELFYAML::SectionHeaderTable::getNumHeaders().

◆ Kind

ChunkKind llvm::ELFYAML::Chunk::Kind

Definition at line 210 of file ELFYAML.h.

◆ Name

StringRef llvm::ELFYAML::Chunk::Name

◆ Offset

Optional<llvm::yaml::Hex64> llvm::ELFYAML::Chunk::Offset

Definition at line 212 of file ELFYAML.h.

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


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