class OwnedDataSection
Declaration
class OwnedDataSection : public SectionBase { /* full declaration omitted */ };
Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:502
Inherits from: SectionBase
Member Variables
- private std::vector<uint8_t> Data
Inherited from SectionBase:
- public Name
- public ParentSegment = nullptr
- public HeaderOffset = 0
- public Index = 0
- public OriginalIndex = 0
- public OriginalFlags = 0
- public OriginalType = ELF::SHT_NULL
- public OriginalOffset = std::numeric_limits<unsigned long>::max()
- public Addr = 0
- public Align = 1
- public EntrySize = 0
- public Flags = 0
- public Info = 0
- public Link = ELF::SHN_UNDEF
- public NameIndex = 0
- public Offset = 0
- public Size = 0
- public Type = ELF::SHT_NULL
- public OriginalData
- public HasSymbol = false
Method Overview
- public OwnedDataSection(llvm::StringRef SecName, ArrayRef<uint8_t> Data)
- public OwnedDataSection(const llvm::Twine & SecName, uint64_t SecAddr, uint64_t SecFlags, uint64_t SecOff)
- public OwnedDataSection(llvm::objcopy::elf::SectionBase & S, ArrayRef<uint8_t> Data)
- public llvm::Error accept(llvm::objcopy::elf::SectionVisitor & Sec) const
- public llvm::Error accept(llvm::objcopy::elf::MutableSectionVisitor & Visitor)
- public void appendHexData(llvm::StringRef HexData)
- public bool hasContents() const
Inherited from SectionBase:
- public accept
- public accept
- public finalize
- public hasContents
- public initialize
- public markSymbols
- public onRemove
- public removeSectionReferences
- public removeSymbols
- public replaceSectionReferences
Methods
¶OwnedDataSection(llvm::StringRef SecName,
ArrayRef<uint8_t> Data)
OwnedDataSection(llvm::StringRef SecName,
ArrayRef<uint8_t> Data)
Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:508
Parameters
- llvm::StringRef SecName
- ArrayRef<uint8_t> Data
¶OwnedDataSection(const llvm::Twine& SecName,
uint64_t SecAddr,
uint64_t SecFlags,
uint64_t SecOff)
OwnedDataSection(const llvm::Twine& SecName,
uint64_t SecAddr,
uint64_t SecFlags,
uint64_t SecOff)
Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:516
Parameters
- const llvm::Twine& SecName
- uint64_t SecAddr
- uint64_t SecFlags
- uint64_t SecOff
¶OwnedDataSection(
llvm::objcopy::elf::SectionBase& S,
ArrayRef<uint8_t> Data)
OwnedDataSection(
llvm::objcopy::elf::SectionBase& S,
ArrayRef<uint8_t> Data)
Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:525
Parameters
- llvm::objcopy::elf::SectionBase& S
- ArrayRef<uint8_t> Data
¶llvm::Error accept(
llvm::objcopy::elf::SectionVisitor& Sec) const
llvm::Error accept(
llvm::objcopy::elf::SectionVisitor& Sec) const
Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:531
Parameters
¶llvm::Error accept(
llvm::objcopy::elf::MutableSectionVisitor&
Visitor)
llvm::Error accept(
llvm::objcopy::elf::MutableSectionVisitor&
Visitor)
Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:532
Parameters
¶void appendHexData(llvm::StringRef HexData)
void appendHexData(llvm::StringRef HexData)
Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:530
Parameters
- llvm::StringRef HexData
¶bool hasContents() const
bool hasContents() const
Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:533