class CompressedSection

Declaration

class CompressedSection : public SectionBase { /* full declaration omitted */ };

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:536

Inherits from: SectionBase

Member Variables

private llvm::DebugCompressionType CompressionType
private uint64_t DecompressedSize
private uint64_t DecompressedAlign
private SmallVector<uint8_t, 128> CompressedData

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 CompressedSection(const llvm::objcopy::elf::SectionBase & Sec, llvm::DebugCompressionType CompressionType)
  • public CompressedSection(ArrayRef<uint8_t> CompressedData, uint64_t DecompressedSize, uint64_t DecompressedAlign)
  • public llvm::Error accept(llvm::objcopy::elf::SectionVisitor & Visitor) const
  • public llvm::Error accept(llvm::objcopy::elf::MutableSectionVisitor & Visitor)
  • public static bool classof(const llvm::objcopy::elf::SectionBase * S)
  • public uint64_t getDecompressedAlign() const
  • public uint64_t getDecompressedSize() const

Inherited from SectionBase:

Methods

CompressedSection(
    const llvm::objcopy::elf::SectionBase& Sec,
    llvm::DebugCompressionType CompressionType)

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:545

Parameters

const llvm::objcopy::elf::SectionBase& Sec
llvm::DebugCompressionType CompressionType

CompressedSection(
    ArrayRef<uint8_t> CompressedData,
    uint64_t DecompressedSize,
    uint64_t DecompressedAlign)

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:547

Parameters

ArrayRef<uint8_t> CompressedData
uint64_t DecompressedSize
uint64_t DecompressedAlign

llvm::Error accept(
    llvm::objcopy::elf::SectionVisitor& Visitor)
    const

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:553

Parameters

llvm::objcopy::elf::SectionVisitor& Visitor

llvm::Error accept(
    llvm::objcopy::elf::MutableSectionVisitor&
        Visitor)

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:554

Parameters

llvm::objcopy::elf::MutableSectionVisitor& Visitor

static bool classof(
    const llvm::objcopy::elf::SectionBase* S)

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:556

Parameters

const llvm::objcopy::elf::SectionBase* S

uint64_t getDecompressedAlign() const

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:551

uint64_t getDecompressedSize() const

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:550