LLVM: llvm::objcopy:🧝:RelocSectionWithSymtabBase< SymTabType > Class Template Reference (original) (raw)

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

Inheritance diagram for llvm::objcopy:🧝:RelocSectionWithSymtabBase< SymTabType >:

[legend]

Public Member Functions
Error initialize (SectionTableRef SecTable) override
void finalize () override
Public Member Functions inherited from llvm::objcopy:🧝:RelocationSectionBase
const SectionBase * getSection () const
void setSection (SectionBase *Sec)
StringRef getNamePrefix () const
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 Error accept (SectionVisitor &Visitor) const =0
virtual Error accept (MutableSectionVisitor &Visitor)=0
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 &)
Protected Member Functions
Protected Attributes
SymTabType * Symbols = nullptr
Protected Attributes inherited from llvm::objcopy:🧝:RelocationSectionBase
SectionBase * SecToApplyRel = nullptr
Additional Inherited Members
Static Public Member Functions inherited from llvm::objcopy:🧝:RelocationSectionBase
static bool classof (const SectionBase *S)
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

template
class llvm::objcopy:🧝:RelocSectionWithSymtabBase< SymTabType >

Definition at line 896 of file ELFObject.h.

Constructor & Destructor Documentation

template

llvm::objcopy:🧝:RelocSectionWithSymtabBase< SymTabType >::RelocSectionWithSymtabBase ( ) protecteddefault

Member Function Documentation

finalize()

template

void RelocSectionWithSymtabBase::finalize ( ) overridevirtual

Reimplemented from llvm::objcopy:🧝:SectionBase.

Definition at line 957 of file ELFObject.cpp.

References llvm::objcopy:🧝:SectionBase::Info, llvm::objcopy:🧝:SectionBase::Link, llvm::objcopy:🧝:RelocationSectionBase::SecToApplyRel, and Symbols.

initialize()

template

Error RelocSectionWithSymtabBase::initialize ( SectionTableRef SecTable) overridevirtual

Reimplemented from llvm::objcopy:🧝:SectionBase.

Definition at line 927 of file ELFObject.cpp.

References llvm::objcopy:🧝:SectionTableRef::getSection(), llvm::objcopy:🧝:SectionTableRef::getSectionOfType(), llvm::objcopy:🧝:SectionBase::Info, llvm::objcopy:🧝:SectionBase::Link, llvm::objcopy:🧝:SectionBase::Name, llvm::objcopy:🧝:RelocationSectionBase::setSection(), llvm::ELF::SHN_UNDEF, llvm::Error::success(), and llvm::Expected< T >::takeError().

Member Data Documentation

Symbols

template

SymTabType* llvm::objcopy:🧝:RelocSectionWithSymtabBase< SymTabType >::Symbols = nullptr protected

Definition at line 902 of file ELFObject.h.

Referenced by finalize().


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