LLVM: llvm::objcopy:🧝:SRECWriter Class Reference (original) (raw)

#include "[ObjCopy/ELF/ELFObject.h](ELFObject%5F8h%5Fsource.html)"

Inheritance diagram for llvm::objcopy:🧝:SRECWriter:

[legend]

Public Member Functions
SRECWriter (Object &Obj, raw_ostream &OS, StringRef OutputFile)
Error write () override
Public Member Functions inherited from llvm::objcopy:🧝:ASCIIHexWriter
ASCIIHexWriter (Object &Obj, raw_ostream &OS, StringRef OutputFile)
Error finalize () override
Public Member Functions inherited from llvm::objcopy:🧝:Writer
virtual ~Writer ()
Writer (Object &O, raw_ostream &Out)
Additional Inherited Members
Protected Member Functions inherited from llvm::objcopy:🧝:ASCIIHexWriter
Error checkSection (const SectionBase &S) const
Protected Attributes inherited from llvm::objcopy:🧝:ASCIIHexWriter
StringRef OutputFileName
size_t TotalSize = 0
std::vector< const SectionBase * > Sections
Protected Attributes inherited from llvm::objcopy:🧝:Writer
Object & Obj
std::unique_ptr< WritableMemoryBuffer > Buf
raw_ostream & Out

Detailed Description

Definition at line 407 of file ELFObject.h.

Constructor & Destructor Documentation

llvm::objcopy:🧝:SRECWriter::SRECWriter ( Object & Obj, raw_ostream & OS, StringRef OutputFile ) inline

Definition at line 409 of file ELFObject.h.

References llvm::objcopy:🧝:ASCIIHexWriter::ASCIIHexWriter(), and llvm::objcopy:🧝:Writer::Obj.

Member Function Documentation

write()

Error SRECWriter::write ( ) overridevirtual

Implements llvm::objcopy:🧝:Writer.

Definition at line 3050 of file ELFObject.cpp.

References assert(), llvm::objcopy:🧝:Writer::Buf, llvm::objcopy:🧝:Writer::Obj, llvm::Offset, llvm::objcopy:🧝:Writer::Out, llvm::objcopy:🧝:ASCIIHexWriter::Sections, llvm::Error::success(), llvm::objcopy:🧝:ASCIIHexWriter::TotalSize, and llvm::objcopy:🧝:Writer::Writer().


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