LLVM 20.0.0git
|
#include "ObjCopy/ELF/ELFObject.h"
Public Types | |
template<class T > | |
using | ConstRange = iterator_range< pointee_iterator< typename llvm::SmallVector< T *, 3 >::const_iterator > > |
Static Public Member Functions | |
static bool | classof (const SectionBase *S) |
Public Attributes | |
ArrayRef< uint8_t > | Contents |
Public Attributes inherited from llvm::objcopy::elf::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 |
Definition at line 936 of file ELFObject.h.
using llvm::objcopy::elf::GroupSection::ConstRange = iterator_range< pointee_iterator<typename llvm::SmallVector<T *, 3>::const_iterator> > |
Definition at line 945 of file ELFObject.h.
|
inlineexplicit |
Definition at line 951 of file ELFObject.h.
|
overridevirtual |
Implements llvm::objcopy::elf::SectionBase.
Definition at line 1214 of file ELFObject.cpp.
References llvm::objcopy::elf::MutableSectionVisitor::visit().
|
overridevirtual |
Implements llvm::objcopy::elf::SectionBase.
Definition at line 1210 of file ELFObject.cpp.
References llvm::objcopy::elf::SectionVisitor::visit().
|
inline |
Definition at line 956 of file ELFObject.h.
References llvm::SmallVectorTemplateBase< T, bool >::push_back().
|
inlinestatic |
Definition at line 974 of file ELFObject.h.
References llvm::objcopy::elf::SectionBase::OriginalType, and llvm::ELF::SHT_GROUP.
|
overridevirtual |
Reimplemented from llvm::objcopy::elf::SectionBase.
Definition at line 1081 of file ELFObject.cpp.
References llvm::objcopy::elf::Symbol::Binding, llvm::ELF::GRP_COMDAT, llvm::objcopy::elf::SectionBase::Index, llvm::objcopy::elf::Symbol::Index, llvm::objcopy::elf::SectionBase::Info, llvm::objcopy::elf::SectionBase::Link, and llvm::ELF::STB_LOCAL.
|
overridevirtual |
Reimplemented from llvm::objcopy::elf::SectionBase.
Definition at line 1117 of file ELFObject.cpp.
References llvm::objcopy::elf::Symbol::Referenced.
|
inline |
Definition at line 970 of file ELFObject.h.
References llvm::make_pointee_range().
|
overridevirtual |
Reimplemented from llvm::objcopy::elf::SectionBase.
Definition at line 1129 of file ELFObject.cpp.
References llvm::objcopy::elf::SectionBase::Flags.
|
overridevirtual |
Reimplemented from llvm::objcopy::elf::SectionBase.
Definition at line 1092 of file ELFObject.cpp.
References llvm::createStringError(), llvm::erase_if(), llvm::invalid_argument, llvm::objcopy::elf::SectionBase::Name, llvm::Error::success(), and ToRemove.
|
overridevirtual |
Reimplemented from llvm::objcopy::elf::SectionBase.
Definition at line 1108 of file ELFObject.cpp.
References llvm::createStringError(), llvm::invalid_argument, llvm::objcopy::elf::Symbol::Name, llvm::Error::success(), and ToRemove.
|
overridevirtual |
Reimplemented from llvm::objcopy::elf::SectionBase.
Definition at line 1122 of file ELFObject.cpp.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::lookup().
|
inline |
Definition at line 955 of file ELFObject.h.
|
inline |
Definition at line 954 of file ELFObject.h.
References Sym.
|
inline |
Definition at line 953 of file ELFObject.h.
ArrayRef<uint8_t> llvm::objcopy::elf::GroupSection::Contents |
Definition at line 949 of file ELFObject.h.