LLVM: llvm::object::DataRegion< T > Struct Template Reference (original) (raw)
#include "[llvm/Object/ELF.h](Object%5F2ELF%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| DataRegion (ArrayRef< T > Arr) | |
| DataRegion (const T *Data, const uint8_t *BufferEnd) | |
| Expected< T > | operator[] (uint64_t N) |
| Public Attributes | |
|---|---|
| const T * | First |
| std::optional< uint64_t > | Size |
| const uint8_t * | BufEnd = nullptr |
Detailed Description
template<class T>
struct llvm::object::DataRegion< T >
Definition at line 102 of file ELF.h.
Constructor & Destructor Documentation
template<class T>
| llvm::object::DataRegion< T >::DataRegion ( ArrayRef< T > Arr) | inline |
|---|
Definition at line 105 of file ELF.h.
References data, First, Size, and llvm::size().
◆ DataRegion() [2/2]
template<class T>
| llvm::object::DataRegion< T >::DataRegion ( const T * Data, const uint8_t * BufferEnd ) | inline |
|---|
Definition at line 109 of file ELF.h.
References BufEnd, llvm::Data, First, and T.
Member Function Documentation
◆ operator[]()
template<class T>
| Expected< T > llvm::object::DataRegion< T >::operator[] ( uint64_t N) | inline |
|---|
Definition at line 112 of file ELF.h.
References assert(), BufEnd, llvm::object::createError(), First, N, Size, and T.
Member Data Documentation
◆ BufEnd
template<class T>
const uint8_t* llvm::object::DataRegion< T >::BufEnd = nullptr
Definition at line 129 of file ELF.h.
Referenced by DataRegion(), and operator.
◆ First
template<class T>
const T* llvm::object::DataRegion< T >::First
Definition at line 127 of file ELF.h.
Referenced by DataRegion(), DataRegion(), llvm::object::getExtendedSymbolTableIndex(), and operator.
◆ Size
template<class T>
std::optional<uint64_t> llvm::object::DataRegion< T >::Size
Definition at line 128 of file ELF.h.
Referenced by DataRegion(), and operator.
The documentation for this struct was generated from the following file:
- include/llvm/Object/ELF.h