LLVM 22.0.0git
llvm::ELFYAML::RelocationSection Struct Reference

#include "llvm/ObjectYAML/ELFYAML.h"

Inheritance diagram for llvm::ELFYAML::RelocationSection:
[legend]

Public Member Functions

 RelocationSection ()
std::vector< std::pair< StringRef, bool > > getEntries () const override
Public Member Functions inherited from llvm::ELFYAML::Section
 Section (ChunkKind Kind, bool IsImplicit=false)
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)
Static Public Member Functions inherited from llvm::ELFYAML::Section
static bool classof (const Chunk *S)

Public Attributes

std::optional< std::vector< Relocation > > Relocations
StringRef RelocatableSec
Public Attributes inherited from llvm::ELFYAML::Section
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 639 of file ELFYAML.h.

Constructor & Destructor Documentation

◆ RelocationSection()

llvm::ELFYAML::RelocationSection::RelocationSection ( )
inline

Definition at line 643 of file ELFYAML.h.

References llvm::ELFYAML::Section::Section().

Member Function Documentation

◆ classof()

bool llvm::ELFYAML::RelocationSection::classof ( const Chunk * S)
inlinestatic

Definition at line 649 of file ELFYAML.h.

References llvm::ELFYAML::Chunk::Kind, and llvm::ELFYAML::Chunk::Relocation.

◆ getEntries()

std::vector< std::pair< StringRef, bool > > llvm::ELFYAML::RelocationSection::getEntries ( ) const
inlineoverridevirtual

Reimplemented from llvm::ELFYAML::Section.

Definition at line 645 of file ELFYAML.h.

References Relocations.

Member Data Documentation

◆ RelocatableSec

StringRef llvm::ELFYAML::RelocationSection::RelocatableSec

Definition at line 641 of file ELFYAML.h.

◆ Relocations

std::optional<std::vector<Relocation> > llvm::ELFYAML::RelocationSection::Relocations

Definition at line 640 of file ELFYAML.h.

Referenced by getEntries().


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