LLVM  15.0.0git
Public Member Functions | List of all members
llvm::objcopy::elf::IHexSectionWriter Class Reference

#include "ObjCopy/ELF/ELFObject.h"

Inheritance diagram for llvm::objcopy::elf::IHexSectionWriter:
Inheritance graph
[legend]
Collaboration diagram for llvm::objcopy::elf::IHexSectionWriter:
Collaboration graph
[legend]

Public Member Functions

 IHexSectionWriter (WritableMemoryBuffer &Buf)
 
void writeData (uint8_t Type, uint16_t Addr, ArrayRef< uint8_t > Data) override
 
Error visit (const StringTableSection &Sec) override
 
- Public Member Functions inherited from llvm::objcopy::elf::IHexSectionWriterBase
 IHexSectionWriterBase (WritableMemoryBuffer &Buf)
 
uint64_t getBufferOffset () const
 
Error visit (const Section &Sec) final
 
Error visit (const OwnedDataSection &Sec) final
 
Error visit (const DynamicRelocationSection &Sec) final
 
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
 
 SectionWriter (WritableMemoryBuffer &Buf)
 
- Public Member Functions inherited from llvm::objcopy::elf::SectionVisitor
virtual ~SectionVisitor ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::objcopy::elf::IHexSectionWriterBase
void writeSection (const SectionBase *Sec, ArrayRef< uint8_t > Data)
 
- Protected Attributes inherited from llvm::objcopy::elf::IHexSectionWriterBase
uint64_t Offset = 0
 
- Protected Attributes inherited from llvm::objcopy::elf::SectionWriter
WritableMemoryBufferOut
 

Detailed Description

Definition at line 299 of file ELFObject.h.

Constructor & Destructor Documentation

◆ IHexSectionWriter()

llvm::objcopy::elf::IHexSectionWriter::IHexSectionWriter ( WritableMemoryBuffer Buf)
inline

Definition at line 301 of file ELFObject.h.

Member Function Documentation

◆ visit()

Error IHexSectionWriter::visit ( const StringTableSection Sec)
overridevirtual

◆ writeData()

void IHexSectionWriter::writeData ( uint8_t  Type,
uint16_t  Addr,
ArrayRef< uint8_t >  Data 
)
overridevirtual

Reimplemented from llvm::objcopy::elf::IHexSectionWriterBase.

Definition at line 409 of file ELFObject.cpp.

References Addr, llvm::Data, and memcpy().


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