LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::ELFYAML::Object Struct Reference

#include "llvm/ObjectYAML/ELFYAML.h"

Public Member Functions

std::vector< Section * > getSections ()
 
const SectionHeaderTablegetSectionHeaderTable () const
 
ELF_ELFOSABI getOSAbi () const
 
unsigned getMachine () const
 

Public Attributes

FileHeader Header
 
std::vector< ProgramHeaderProgramHeaders
 
std::vector< std::unique_ptr< Chunk > > Chunks
 
std::optional< std::vector< Symbol > > Symbols
 
std::optional< std::vector< Symbol > > DynamicSymbols
 
std::optional< DWARFYAML::DataDWARF
 

Detailed Description

Definition at line 723 of file ELFYAML.h.

Member Function Documentation

◆ getMachine()

unsigned llvm::ELFYAML::Object::getMachine ( ) const

Definition at line 35 of file ELFYAML.cpp.

References llvm::ELF::EM_NONE, Header, and llvm::ELFYAML::FileHeader::Machine.

Referenced by isMips64EL().

◆ getOSAbi()

ELF_ELFOSABI llvm::ELFYAML::Object::getOSAbi ( ) const

Definition at line 33 of file ELFYAML.cpp.

References Header, and llvm::ELFYAML::FileHeader::OSABI.

◆ getSectionHeaderTable()

const SectionHeaderTable & llvm::ELFYAML::Object::getSectionHeaderTable ( ) const
inline

Definition at line 747 of file ELFYAML.h.

References llvm::CallingConv::C, Chunks, and llvm_unreachable.

◆ getSections()

std::vector< Section * > llvm::ELFYAML::Object::getSections ( )
inline

Definition at line 739 of file ELFYAML.h.

References Chunks.

Member Data Documentation

◆ Chunks

std::vector<std::unique_ptr<Chunk> > llvm::ELFYAML::Object::Chunks

Definition at line 729 of file ELFYAML.h.

Referenced by getSectionHeaderTable(), and getSections().

◆ DWARF

std::optional<DWARFYAML::Data> llvm::ELFYAML::Object::DWARF

Definition at line 737 of file ELFYAML.h.

◆ DynamicSymbols

std::optional<std::vector<Symbol> > llvm::ELFYAML::Object::DynamicSymbols

Definition at line 736 of file ELFYAML.h.

◆ Header

FileHeader llvm::ELFYAML::Object::Header

Definition at line 724 of file ELFYAML.h.

Referenced by getMachine(), getOSAbi(), isMips64EL(), and llvm::yaml::yaml2elf().

◆ ProgramHeaders

std::vector<ProgramHeader> llvm::ELFYAML::Object::ProgramHeaders

Definition at line 725 of file ELFYAML.h.

◆ Symbols

std::optional<std::vector<Symbol> > llvm::ELFYAML::Object::Symbols

Definition at line 735 of file ELFYAML.h.


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