class SectionTableRef
Declaration
class SectionTableRef { /* full declaration omitted */ };
Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:50
Member Variables
- private ArrayRef<std::unique_ptr<SectionBase>> Sections
Method Overview
- public SectionTableRef(ArrayRef<std::unique_ptr<SectionBase>> Secs)
- public SectionTableRef(const llvm::objcopy::elf::SectionTableRef &)
- public llvm::objcopy::elf::SectionTableRef::iterator begin() const
- public llvm::objcopy::elf::SectionTableRef::iterator end() const
- public Expected<llvm::objcopy::elf::SectionBase *> getSection(uint32_t Index, llvm::Twine ErrMsg)
- public template <class T>Expected<T *> getSectionOfType(uint32_t Index, llvm::Twine IndexErrMsg, llvm::Twine TypeErrMsg)
- public size_t size() const
Methods
¶SectionTableRef(
ArrayRef<std::unique_ptr<SectionBase>> Secs)
SectionTableRef(
ArrayRef<std::unique_ptr<SectionBase>> Secs)
Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:56
Parameters
- ArrayRef<std::unique_ptr<SectionBase>> Secs
¶SectionTableRef(
const llvm::objcopy::elf::SectionTableRef&)
SectionTableRef(
const llvm::objcopy::elf::SectionTableRef&)
Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:58
Parameters
¶llvm::objcopy::elf::SectionTableRef::iterator
begin() const
llvm::objcopy::elf::SectionTableRef::iterator
begin() const
Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:60
¶llvm::objcopy::elf::SectionTableRef::iterator
end() const
llvm::objcopy::elf::SectionTableRef::iterator
end() const
Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:61
¶Expected<llvm::objcopy::elf::SectionBase*>
getSection(uint32_t Index, llvm::Twine ErrMsg)
Expected<llvm::objcopy::elf::SectionBase*>
getSection(uint32_t Index, llvm::Twine ErrMsg)
Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:64
Parameters
- uint32_t Index
- llvm::Twine ErrMsg
¶template <class T>
Expected<T*> getSectionOfType(
uint32_t Index,
llvm::Twine IndexErrMsg,
llvm::Twine TypeErrMsg)
template <class T>
Expected<T*> getSectionOfType(
uint32_t Index,
llvm::Twine IndexErrMsg,
llvm::Twine TypeErrMsg)
Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:67
Templates
- T
Parameters
- uint32_t Index
- llvm::Twine IndexErrMsg
- llvm::Twine TypeErrMsg
¶size_t size() const
size_t size() const
Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:62