LLVM 22.0.0git
llvm::objcopy::elf::SRECSizeCalculator Class Reference

#include "ObjCopy/ELF/ELFObject.h"

Inheritance diagram for llvm::objcopy::elf::SRECSizeCalculator:
[legend]

Public Member Functions

 SRECSizeCalculator (WritableMemoryBuffer &EmptyBuffer, uint64_t Offset)
Public Member Functions inherited from llvm::objcopy::elf::SRECSectionWriterBase
 SRECSectionWriterBase (WritableMemoryBuffer &Buf, uint64_t StartOffset)
void writeRecords (uint32_t Entry)
uint64_t getBufferOffset () const
Error visit (const Section &S) override
Error visit (const OwnedDataSection &S) override
Error visit (const StringTableSection &S) override
Error visit (const DynamicRelocationSection &S) override
uint8_t getType () const
Error visit (const SymbolTableSection &Sec) override
Error visit (const RelocationSection &Sec) override
Error visit (const GnuDebugLinkSection &Sec) override
Error visit (const GroupSection &Sec) override
Error visit (const SectionIndexSection &Sec) override
Error visit (const CompressedSection &Sec) override
Error visit (const DecompressedSection &Sec) override
Public Member Functions inherited from llvm::objcopy::elf::BinarySectionWriter
virtual ~BinarySectionWriter ()
 BinarySectionWriter (WritableMemoryBuffer &Buf)
Public Member Functions inherited from llvm::objcopy::elf::SectionWriter
virtual ~SectionWriter ()=default
 SectionWriter (WritableMemoryBuffer &Buf)
Public Member Functions inherited from llvm::objcopy::elf::SectionVisitor
virtual ~SectionVisitor ()=default

Protected Member Functions

void writeRecord (SRecord &Record, uint64_t Off) override
Protected Member Functions inherited from llvm::objcopy::elf::SRECSectionWriterBase
void writeSection (const SectionBase &S, ArrayRef< uint8_t > Data)

Additional Inherited Members

Protected Attributes inherited from llvm::objcopy::elf::SRECSectionWriterBase
uint64_t Offset
uint64_t HeaderSize
uint8_t Type = SRecord::S1
std::vector< SRecordRecords
Protected Attributes inherited from llvm::objcopy::elf::SectionWriter
WritableMemoryBufferOut

Detailed Description

Definition at line 490 of file ELFObject.h.

Constructor & Destructor Documentation

◆ SRECSizeCalculator()

llvm::objcopy::elf::SRECSizeCalculator::SRECSizeCalculator ( WritableMemoryBuffer & EmptyBuffer,
uint64_t Offset )
inline

Member Function Documentation

◆ writeRecord()

void llvm::objcopy::elf::SRECSizeCalculator::writeRecord ( SRecord & Record,
uint64_t Off )
inlineoverrideprotectedvirtual

Implements llvm::objcopy::elf::SRECSectionWriterBase.

Definition at line 496 of file ELFObject.h.


The documentation for this class was generated from the following file: