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

#include "llvm/ObjectYAML/ELFYAML.h"

Collaboration diagram for llvm::ELFYAML::Object:
Collaboration graph

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
Optional< std::vector< Symbol > > Symbols
Optional< std::vector< Symbol > > DynamicSymbols

Detailed Description

Definition at line 694 of file ELFYAML.h.

Member Function Documentation

◆ getMachine()

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

Definition at line 34 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 32 of file ELFYAML.cpp.

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

◆ getSectionHeaderTable()

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

Definition at line 718 of file ELFYAML.h.

References Chunks, llvm_unreachable, and S.

◆ getSections()

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

Definition at line 710 of file ELFYAML.h.

References Chunks, llvm::MipsISD::Ret, and S.

Member Data Documentation

◆ Chunks

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

Definition at line 700 of file ELFYAML.h.

Referenced by getSectionHeaderTable(), and getSections().


Optional<DWARFYAML::Data> llvm::ELFYAML::Object::DWARF

Definition at line 708 of file ELFYAML.h.

◆ DynamicSymbols

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

Definition at line 707 of file ELFYAML.h.

◆ Header

FileHeader llvm::ELFYAML::Object::Header

Definition at line 695 of file ELFYAML.h.

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

◆ ProgramHeaders

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

Definition at line 696 of file ELFYAML.h.

◆ Symbols

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

Definition at line 706 of file ELFYAML.h.

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