LLVM 22.0.0git
|
#include "ObjCopy/ELF/ELFObject.h"
Public Types | |
template<class T> | |
using | ConstRange |
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 940 of file ELFObject.h.
using llvm::objcopy::elf::GroupSection::ConstRange |
Definition at line 949 of file ELFObject.h.
Definition at line 955 of file ELFObject.h.
References Contents, and llvm::Data.
|
overridevirtual |
Implements llvm::objcopy::elf::SectionBase.
Definition at line 1211 of file ELFObject.cpp.
References llvm::objcopy::elf::MutableSectionVisitor::visit().
|
overridevirtual |
Implements llvm::objcopy::elf::SectionBase.
Definition at line 1207 of file ELFObject.cpp.
References llvm::objcopy::elf::SectionVisitor::visit().
|
inline |
Definition at line 960 of file ELFObject.h.
References llvm::objcopy::elf::SectionBase::SectionBase().
|
inlinestatic |
Definition at line 978 of file ELFObject.h.
References llvm::objcopy::elf::SectionBase::OriginalType, llvm::objcopy::elf::SectionBase::SectionBase(), and llvm::ELF::SHT_GROUP.
|
overridevirtual |
Reimplemented from llvm::objcopy::elf::SectionBase.
Definition at line 1078 of file ELFObject.cpp.
References llvm::ELF::GRP_COMDAT, 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 1114 of file ELFObject.cpp.
|
inline |
Definition at line 974 of file ELFObject.h.
References llvm::make_pointee_range().
Referenced by llvm::objcopy::elf::Object::removeSections().
|
overridevirtual |
Reimplemented from llvm::objcopy::elf::SectionBase.
Definition at line 1126 of file ELFObject.cpp.
References llvm::objcopy::elf::SectionBase::Flags, llvm::objcopy::elf::SectionBase::SectionBase(), and llvm::ELF::SHF_GROUP.
|
overridevirtual |
Reimplemented from llvm::objcopy::elf::SectionBase.
Definition at line 1089 of file ELFObject.cpp.
References llvm::createStringError(), llvm::erase_if(), llvm::invalid_argument, llvm::objcopy::elf::SectionBase::Name, llvm::objcopy::elf::SectionBase::SectionBase(), llvm::Error::success(), and ToRemove.
|
overridevirtual |
Reimplemented from llvm::objcopy::elf::SectionBase.
Definition at line 1105 of file ELFObject.cpp.
References llvm::createStringError(), llvm::invalid_argument, llvm::Error::success(), and ToRemove.
|
overridevirtual |
Reimplemented from llvm::objcopy::elf::SectionBase.
Definition at line 1119 of file ELFObject.cpp.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::lookup(), and llvm::objcopy::elf::SectionBase::SectionBase().
|
inline |
Definition at line 959 of file ELFObject.h.
|
inline |
Definition at line 958 of file ELFObject.h.
|
inline |
Definition at line 957 of file ELFObject.h.
Definition at line 953 of file ELFObject.h.
Referenced by GroupSection().