LLVM 19.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]

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 310 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 321 of file ELFObject.h.

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

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