LLVM 20.0.0git
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
llvm::objcopy::elf::ASCIIHexWriter Class Referenceabstract

#include "ObjCopy/ELF/ELFObject.h"

Inheritance diagram for llvm::objcopy::elf::ASCIIHexWriter:
Inheritance graph
[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 finalize ()=0
 
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

Definition at line 380 of file ELFObject.h.

Member Function Documentation

◆ checkSection()

Error ASCIIHexWriter::checkSection ( const SectionBase S) const
protected

◆ finalize()

Error ASCIIHexWriter::finalize ( )
overridevirtual

◆ 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.

◆ 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: