LLVM  14.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
[legend]

Public Member Functions

std::vector< Section * > getSections ()
 
const SectionHeaderTablegetSectionHeaderTable () 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
 
Optional< DWARFYAML::DataDWARF
 

Detailed Description

Definition at line 692 of file ELFYAML.h.

Member Function Documentation

◆ getMachine()

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

Definition at line 32 of file ELFYAML.cpp.

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

Referenced by isMips64EL().

◆ getSectionHeaderTable()

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

Definition at line 716 of file ELFYAML.h.

References Chunks, llvm_unreachable, and S.

◆ getSections()

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

Definition at line 708 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 698 of file ELFYAML.h.

Referenced by getSectionHeaderTable(), and getSections().

◆ DWARF

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

Definition at line 706 of file ELFYAML.h.

◆ DynamicSymbols

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

Definition at line 705 of file ELFYAML.h.

◆ Header

FileHeader llvm::ELFYAML::Object::Header

Definition at line 693 of file ELFYAML.h.

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

◆ ProgramHeaders

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

Definition at line 694 of file ELFYAML.h.

◆ Symbols

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

Definition at line 704 of file ELFYAML.h.


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