LLVM: llvm::objcopy:🧝:SectionIndexSection Class Reference (original) (raw)

#include "[ObjCopy/ELF/ELFObject.h](ELFObject%5F8h%5Fsource.html)"

Inheritance diagram for llvm::objcopy:🧝:SectionIndexSection:

[legend]

Public Member Functions
~SectionIndexSection () override=default
void addIndex (uint32_t Index)
void reserve (size_t NumSymbols)
void setSymTab (SymbolTableSection *SymTab)
Error initialize (SectionTableRef SecTable) override
void finalize () override
Error accept (SectionVisitor &Visitor) const override
Error accept (MutableSectionVisitor &Visitor) override
SectionIndexSection ()
Public Member Functions inherited from llvm::objcopy:🧝:SectionBase
SectionBase ()=default
SectionBase (const SectionBase &)=default
virtual ~SectionBase ()=default
virtual Error removeSectionReferences (bool AllowBrokenLinks, function_ref< bool(const SectionBase *)> ToRemove)
virtual Error removeSymbols (function_ref< bool(const Symbol &)> ToRemove)
virtual void markSymbols ()
virtual void replaceSectionReferences (const DenseMap< SectionBase *, SectionBase * > &)
virtual bool hasContents () const
virtual ArrayRef< uint8_t > getContents () const
virtual void onRemove ()
virtual void restoreSymTabLink (SymbolTableSection &)
Additional Inherited Members
Public Attributes inherited from llvm::objcopy:🧝:SectionBase
std::string Name
Segment * ParentSegment = nullptr
uint64_t HeaderOffset = 0
uint32_t Index = 0
uint32_t OriginalIndex = 0
uint64_t OriginalFlags = 0
uint64_t OriginalType = ELF::SHT_NULL
uint64_t OriginalOffset = std::numeric_limits<uint64_t>::max()
uint64_t Addr = 0
uint64_t Align = 1
uint32_t EntrySize = 0
uint64_t Flags = 0
uint64_t Info = 0
uint64_t Link = ELF::SHN_UNDEF
uint64_t NameIndex = 0
uint64_t Offset = 0
uint64_t Size = 0
uint64_t Type = ELF::SHT_NULL
ArrayRef< uint8_t > OriginalData
bool HasSymbol = false

Detailed Description

Definition at line 779 of file ELFObject.h.

Constructor & Destructor Documentation

llvm::objcopy:🧝:SectionIndexSection::~SectionIndexSection ( ) overridedefault

SectionIndexSection()

llvm::objcopy:🧝:SectionIndexSection::SectionIndexSection ( ) inline

Definition at line 803 of file ELFObject.h.

References llvm::objcopy:🧝:SectionBase::Align, llvm::objcopy:🧝:SectionBase::EntrySize, llvm::objcopy:🧝:SectionBase::Name, llvm::objcopy:🧝:SectionBase::OriginalType, llvm::ELF::SHT_SYMTAB_SHNDX, and llvm::objcopy:🧝:SectionBase::Type.

Member Function Documentation

accept() [1/2]

Error SectionIndexSection::accept ( MutableSectionVisitor & Visitor) overridevirtual

Implements llvm::objcopy:🧝:SectionBase.

Definition at line 644 of file ELFObject.cpp.

References llvm::objcopy:🧝:MutableSectionVisitor::visit().

accept() [2/2]

Error SectionIndexSection::accept ( SectionVisitor & Visitor) const overridevirtual

Implements llvm::objcopy:🧝:SectionBase.

Definition at line 640 of file ELFObject.cpp.

References llvm::objcopy:🧝:SectionVisitor::visit().

addIndex()

void llvm::objcopy:🧝:SectionIndexSection::addIndex ( uint32_t Index) inline

Definition at line 788 of file ELFObject.h.

References assert(), llvm::objcopy:🧝:SectionBase::Index, and llvm::objcopy:🧝:SectionBase::Size.

finalize()

void SectionIndexSection::finalize ( ) overridevirtual

Reimplemented from llvm::objcopy:🧝:SectionBase.

Definition at line 638 of file ELFObject.cpp.

References llvm::objcopy:🧝:SectionBase::Link.

initialize()

Error SectionIndexSection::initialize ( SectionTableRef SecTable) overridevirtual

Reimplemented from llvm::objcopy:🧝:SectionBase.

Definition at line 621 of file ELFObject.cpp.

References llvm::objcopy:🧝:SectionTableRef::getSectionOfType(), llvm::objcopy:🧝:SectionBase::Link, llvm::objcopy:🧝:SectionBase::Name, setSymTab(), llvm::objcopy:🧝:SectionBase::Size, llvm::Error::success(), and llvm::Expected< T >::takeError().

reserve()

void llvm::objcopy:🧝:SectionIndexSection::reserve ( size_t NumSymbols) inline

Definition at line 793 of file ELFObject.h.

References llvm::objcopy:🧝:SectionBase::Size.

setSymTab()

void llvm::objcopy:🧝:SectionIndexSection::setSymTab ( SymbolTableSection * SymTab) inline

Definition at line 797 of file ELFObject.h.

Referenced by initialize().


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