LLVM: llvm::objcopy:🧝:CompressedSection Class Reference (original) (raw)
#include "[ObjCopy/ELF/ELFObject.h](ELFObject%5F8h%5Fsource.html)"
Inheritance diagram for llvm::objcopy:🧝:CompressedSection:
[legend]
| Static Public Member Functions | |
|---|---|
| static bool | classof (const SectionBase *S) |
| Additional Inherited Members | |
|---|---|
| Public Attributes inherited from llvm::objcopy:🧝: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 |
Detailed Description
Definition at line 663 of file ELFObject.h.
Constructor & Destructor Documentation
| CompressedSection::CompressedSection | ( | const SectionBase & | Sec, |
|---|---|---|---|
| DebugCompressionType | CompressionType, | ||
| bool | Is64Bits ) |
Definition at line 557 of file ELFObject.cpp.
References llvm::objcopy:🧝:SectionBase::Align, llvm::compression::compress(), llvm::objcopy:🧝:SectionBase::Flags, llvm::objcopy:🧝:SectionBase::OriginalData, llvm::objcopy:🧝:SectionBase::OriginalFlags, llvm::objcopy:🧝:SectionBase::SectionBase(), llvm::ELF::SHF_COMPRESSED, llvm::objcopy:🧝:SectionBase::Size, and llvm::size().
◆ CompressedSection() [2/2]
| CompressedSection::CompressedSection | ( | ArrayRef< uint8_t > | CompressedData, |
|---|---|---|---|
| uint32_t | ChType, | ||
| uint64_t | DecompressedSize, | ||
| uint64_t | DecompressedAlign ) |
Definition at line 573 of file ELFObject.cpp.
References llvm::objcopy::None, and llvm::objcopy:🧝:SectionBase::OriginalData.
Member Function Documentation
◆ accept() [1/2]
| Error CompressedSection::accept ( MutableSectionVisitor & Visitor) | overridevirtual |
|---|
Implements llvm::objcopy:🧝:SectionBase.
Definition at line 585 of file ELFObject.cpp.
References llvm::objcopy:🧝:MutableSectionVisitor::visit().
◆ accept() [2/2]
| Error CompressedSection::accept ( SectionVisitor & Visitor) const | overridevirtual |
|---|
Implements llvm::objcopy:🧝:SectionBase.
Definition at line 581 of file ELFObject.cpp.
References llvm::objcopy:🧝:SectionVisitor::visit().
◆ classof()
| bool llvm::objcopy:🧝:CompressedSection::classof ( const SectionBase * S) | inlinestatic |
|---|
Definition at line 685 of file ELFObject.h.
References llvm::objcopy:🧝:SectionBase::OriginalFlags, llvm::objcopy:🧝:SectionBase::SectionBase(), and llvm::ELF::SHF_COMPRESSED.
◆ getChType()
| uint64_t llvm::objcopy:🧝:CompressedSection::getChType ( ) const | inline |
|---|
Definition at line 680 of file ELFObject.h.
◆ getDecompressedAlign()
| uint64_t llvm::objcopy:🧝:CompressedSection::getDecompressedAlign ( ) const | inline |
|---|
Definition at line 679 of file ELFObject.h.
Referenced by llvm::objcopy:🧝:DecompressedSection::DecompressedSection().
◆ getDecompressedSize()
| uint64_t llvm::objcopy:🧝:CompressedSection::getDecompressedSize ( ) const | inline |
|---|
Definition at line 678 of file ELFObject.h.
Referenced by llvm::objcopy:🧝:DecompressedSection::DecompressedSection().
The documentation for this class was generated from the following files:
- lib/ObjCopy/ELF/ELFObject.h
- lib/ObjCopy/ELF/ELFObject.cpp