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

#include "ObjCopy/ELF/ELFObject.h"

Inheritance diagram for llvm::objcopy::elf::Writer:
Inheritance graph
[legend]
Collaboration diagram for llvm::objcopy::elf::Writer:
Collaboration graph
[legend]

Public Member Functions

virtual ~Writer ()
 
virtual Error finalize ()=0
 
virtual Error write ()=0
 
 Writer (Object &O, raw_ostream &Out)
 

Protected Attributes

ObjectObj
 
std::unique_ptr< WritableMemoryBufferBuf
 
raw_ostreamOut
 

Detailed Description

Definition at line 307 of file ELFObject.h.

Constructor & Destructor Documentation

◆ ~Writer()

Writer::~Writer ( )
virtualdefault

◆ Writer()

llvm::objcopy::elf::Writer::Writer ( Object O,
raw_ostream Out 
)
inline

Definition at line 318 of file ELFObject.h.

Referenced by llvm::objcopy::elf::IHexWriter::write().

Member Function Documentation

◆ finalize()

virtual Error llvm::objcopy::elf::Writer::finalize ( )
pure virtual

◆ write()

virtual Error llvm::objcopy::elf::Writer::write ( )
pure virtual

Member Data Documentation

◆ Buf

std::unique_ptr<WritableMemoryBuffer> llvm::objcopy::elf::Writer::Buf
protected

◆ Obj

Object& llvm::objcopy::elf::Writer::Obj
protected

◆ Out

raw_ostream& llvm::objcopy::elf::Writer::Out
protected

Definition at line 311 of file ELFObject.h.


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