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

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

Inheritance diagram for llvm::objcopy:🧝:IHexWriter:

[legend]

Public Member Functions
Error write () override
IHexWriter (Object &Obj, raw_ostream &Out, StringRef OutputFile)
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 394 of file ELFObject.h.

Constructor & Destructor Documentation

llvm::objcopy:🧝:IHexWriter::IHexWriter ( Object & Obj, raw_ostream & Out, StringRef OutputFile ) inline

Definition at line 397 of file ELFObject.h.

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

Member Function Documentation

write()

Error IHexWriter::write ( ) overridevirtual

Implements llvm::objcopy:🧝:Writer.

Definition at line 2856 of file ELFObject.cpp.

References assert(), llvm::objcopy:🧝:Writer::Buf, 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: