LLVM 19.0.0git
Public Member Functions | Protected Member Functions | List of all members
llvm::objcopy::elf::SRECSizeCalculator Class Reference

#include "ObjCopy/ELF/ELFObject.h"

Inheritance diagram for llvm::objcopy::elf::SRECSizeCalculator:
Inheritance graph
[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 ()
 
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
 
 BinarySectionWriter (WritableMemoryBuffer &Buf)
 
- Public Member Functions inherited from llvm::objcopy::elf::SectionWriter
virtual ~SectionWriter ()=default
 
Error visit (const Section &Sec) override
 
Error visit (const OwnedDataSection &Sec) override
 
Error visit (const StringTableSection &Sec) override
 
Error visit (const DynamicRelocationSection &Sec) override
 
Error visit (const SymbolTableSection &Sec) override=0
 
Error visit (const RelocationSection &Sec) override=0
 
Error visit (const GnuDebugLinkSection &Sec) override=0
 
Error visit (const GroupSection &Sec) override=0
 
Error visit (const SectionIndexSection &Sec) override=0
 
Error visit (const CompressedSection &Sec) override=0
 
Error visit (const DecompressedSection &Sec) override=0
 
 SectionWriter (WritableMemoryBuffer &Buf)
 
- Public Member Functions inherited from llvm::objcopy::elf::SectionVisitor
virtual ~SectionVisitor ()=default
 
virtual Error visit (const Section &Sec)=0
 
virtual Error visit (const OwnedDataSection &Sec)=0
 
virtual Error visit (const StringTableSection &Sec)=0
 
virtual Error visit (const SymbolTableSection &Sec)=0
 
virtual Error visit (const RelocationSection &Sec)=0
 
virtual Error visit (const DynamicRelocationSection &Sec)=0
 
virtual Error visit (const GnuDebugLinkSection &Sec)=0
 
virtual Error visit (const GroupSection &Sec)=0
 
virtual Error visit (const SectionIndexSection &Sec)=0
 
virtual Error visit (const CompressedSection &Sec)=0
 
virtual Error visit (const DecompressedSection &Sec)=0
 

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)
 
virtual void writeRecord (SRecord &Record, uint64_t Off)=0
 

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

Definition at line 492 of file ELFObject.h.

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: