LLVM 19.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 722 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

Definition at line 746 of file ELFYAML.h.

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

◆ getSections()

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

Definition at line 738 of file ELFYAML.h.

References Chunks.

Member Data Documentation

◆ Chunks

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

Definition at line 728 of file ELFYAML.h.

Referenced by getSectionHeaderTable(), and getSections().


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

Definition at line 736 of file ELFYAML.h.

◆ DynamicSymbols

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

Definition at line 735 of file ELFYAML.h.

◆ Header

FileHeader llvm::ELFYAML::Object::Header

Definition at line 723 of file ELFYAML.h.

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

◆ ProgramHeaders

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

Definition at line 724 of file ELFYAML.h.

◆ Symbols

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

Definition at line 734 of file ELFYAML.h.

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