|
LLVM 22.0.0git
|
#include "ObjCopy/ELF/ELFObject.h"
Public Member Functions | |
| StringTableSection () | |
| void | addString (StringRef Name) |
| uint32_t | findIndex (StringRef Name) const |
| void | prepareForLayout () |
| Error | accept (SectionVisitor &Visitor) const override |
| Error | accept (MutableSectionVisitor &Visitor) override |
| Public Member Functions inherited from llvm::objcopy::elf::SectionBase | |
| SectionBase ()=default | |
| SectionBase (const SectionBase &)=default | |
| virtual | ~SectionBase ()=default |
| virtual Error | initialize (SectionTableRef SecTable) |
| virtual void | finalize () |
| virtual Error | removeSectionReferences (bool AllowBrokenLinks, function_ref< bool(const SectionBase *)> ToRemove) |
| virtual Error | removeSymbols (function_ref< bool(const Symbol &)> ToRemove) |
| 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 &) |
Static Public Member Functions | |
| static bool | classof (const SectionBase *S) |
Additional Inherited Members | |
| 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 714 of file ELFObject.h.
|
inline |
Definition at line 720 of file ELFObject.h.
References llvm::objcopy::ELF, llvm::objcopy::elf::SectionBase::OriginalType, llvm::ELF::SHT_STRTAB, and llvm::objcopy::elf::SectionBase::Type.
|
overridevirtual |
Implements llvm::objcopy::elf::SectionBase.
Definition at line 610 of file ELFObject.cpp.
References llvm::objcopy::elf::MutableSectionVisitor::visit().
|
overridevirtual |
Implements llvm::objcopy::elf::SectionBase.
Definition at line 606 of file ELFObject.cpp.
References llvm::objcopy::elf::SectionVisitor::visit().
| void StringTableSection::addString | ( | StringRef | Name | ) |
Definition at line 589 of file ELFObject.cpp.
References llvm::objcopy::elf::SectionBase::Name.
|
inlinestatic |
Definition at line 730 of file ELFObject.h.
References llvm::objcopy::elf::SectionBase::OriginalFlags, llvm::objcopy::elf::SectionBase::OriginalType, llvm::objcopy::elf::SectionBase::SectionBase(), llvm::ELF::SHF_ALLOC, and llvm::ELF::SHT_STRTAB.
Definition at line 591 of file ELFObject.cpp.
References llvm::objcopy::elf::SectionBase::Name.
| void StringTableSection::prepareForLayout | ( | ) |
Definition at line 595 of file ELFObject.cpp.
References llvm::objcopy::elf::SectionBase::Size.