LLVM 22.0.0git
llvm::objcopy::elf::ASCIIHexWriter Class Referenceabstract

#include "ObjCopy/ELF/ELFObject.h"

Inheritance diagram for llvm::objcopy::elf::ASCIIHexWriter:
[legend]

Public Member Functions

 ASCIIHexWriter (Object &Obj, raw_ostream &OS, StringRef OutputFile)
Error finalize () override
Public Member Functions inherited from llvm::objcopy::elf::Writer
virtual ~Writer ()
virtual Error write ()=0
 Writer (Object &O, raw_ostream &Out)

Protected Member Functions

Error checkSection (const SectionBase &S) const
virtual Expected< size_t > getTotalSize (WritableMemoryBuffer &EmptyBuffer) const =0

Protected Attributes

StringRef OutputFileName
size_t TotalSize = 0
std::vector< const SectionBase * > Sections
Protected Attributes inherited from llvm::objcopy::elf::Writer
ObjectObj
std::unique_ptr< WritableMemoryBufferBuf
raw_ostreamOut

Detailed Description

Definition at line 378 of file ELFObject.h.

Constructor & Destructor Documentation

◆ ASCIIHexWriter()

llvm::objcopy::elf::ASCIIHexWriter::ASCIIHexWriter ( Object & Obj,
raw_ostream & OS,
StringRef OutputFile )
inline

Member Function Documentation

◆ checkSection()

◆ finalize()

◆ getTotalSize()

virtual Expected< size_t > llvm::objcopy::elf::ASCIIHexWriter::getTotalSize ( WritableMemoryBuffer & EmptyBuffer) const
protectedpure virtual

Referenced by finalize().

Member Data Documentation

◆ OutputFileName

StringRef llvm::objcopy::elf::ASCIIHexWriter::OutputFileName
protected

Definition at line 385 of file ELFObject.h.

Referenced by ASCIIHexWriter().

◆ Sections

std::vector<const SectionBase *> llvm::objcopy::elf::ASCIIHexWriter::Sections
protected

◆ TotalSize

size_t llvm::objcopy::elf::ASCIIHexWriter::TotalSize = 0
protected

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