LLVM: llvm::objcopy:🧝:SRECSectionWriter Class Reference (original) (raw)
#include "[ObjCopy/ELF/ELFObject.h](ELFObject%5F8h%5Fsource.html)"
Inheritance diagram for llvm::objcopy:🧝:SRECSectionWriter:
[legend]
| Protected Member Functions | |
|---|---|
| void | writeRecord (SRecord &Record, uint64_t Off) override |
| Protected Member Functions inherited from llvm::objcopy:🧝:SRECSectionWriterBase | |
| void | writeSection (const SectionBase &S, ArrayRef< uint8_t > Data) |
| Additional Inherited Members | |
|---|---|
| Protected Attributes inherited from llvm::objcopy:🧝:SRECSectionWriterBase | |
| uint64_t | Offset |
| uint64_t | HeaderSize |
| uint8_t | Type = SRecord::S1 |
| std::vector< SRecord > | Records |
| Protected Attributes inherited from llvm::objcopy:🧝:SectionWriter | |
| WritableMemoryBuffer & | Out |
Detailed Description
Definition at line 499 of file ELFObject.h.
Constructor & Destructor Documentation
| llvm::objcopy:🧝:SRECSectionWriter::SRECSectionWriter ( WritableMemoryBuffer & Buf, uint64_t Offset ) | inline |
|---|
Definition at line 501 of file ELFObject.h.
References llvm::objcopy:🧝:SRECSectionWriterBase::Offset, and llvm::objcopy:🧝:SRECSectionWriterBase::SRECSectionWriterBase().
Member Function Documentation
◆ visit()
| Error SRECSectionWriter::visit ( const StringTableSection & Sec) | overridevirtual |
|---|
Reimplemented from llvm::objcopy:🧝:SectionWriter.
Definition at line 2935 of file ELFObject.cpp.
References assert(), llvm::Data, llvm::StringTableBuilder::getSize(), llvm::objcopy:🧝:SectionBase::Size, llvm::Error::success(), llvm::StringTableBuilder::write(), and llvm::objcopy:🧝:SRECSectionWriterBase::writeSection().
◆ writeRecord()
| void SRECSectionWriter::writeRecord ( SRecord & Record, uint64_t Off ) | overrideprotectedvirtual |
|---|
Implements llvm::objcopy:🧝:SRECSectionWriterBase.
Definition at line 2902 of file ELFObject.cpp.
References llvm::Data, and llvm::objcopy:🧝:SectionWriter::Out.
The documentation for this class was generated from the following files:
- lib/ObjCopy/ELF/ELFObject.h
- lib/ObjCopy/ELF/ELFObject.cpp