LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::objcopy::elf::ELFWriter< ELFT > Class Template Reference

#include "ObjCopy/ELF/ELFObject.h"

Inheritance diagram for llvm::objcopy::elf::ELFWriter< ELFT >:
Inheritance graph
[legend]

Public Member Functions

virtual ~ELFWriter ()
 
Error finalize () override
 
Error write () override
 
 ELFWriter (Object &Obj, raw_ostream &Out, bool WSH, bool OnlyKeepDebug)
 
- 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)
 

Public Attributes

bool WriteSectionHeaders
 
bool OnlyKeepDebug
 

Additional Inherited Members

- Protected Attributes inherited from llvm::objcopy::elf::Writer
ObjectObj
 
std::unique_ptr< WritableMemoryBufferBuf
 
raw_ostreamOut
 

Detailed Description

template<class ELFT>
class llvm::objcopy::elf::ELFWriter< ELFT >

Definition at line 324 of file ELFObject.h.

Constructor & Destructor Documentation

◆ ~ELFWriter()

template<class ELFT >
virtual llvm::objcopy::elf::ELFWriter< ELFT >::~ELFWriter ( )
inlinevirtual

Definition at line 349 of file ELFObject.h.

◆ ELFWriter()

template<class ELFT >
ELFWriter::ELFWriter ( Object Obj,
raw_ostream Out,
bool  WSH,
bool  OnlyKeepDebug 
)

Definition at line 2122 of file ELFObject.cpp.

Member Function Documentation

◆ finalize()

template<class ELFT >
Error ELFWriter::finalize ( )
overridevirtual

◆ write()

template<class ELFT >
Error ELFWriter::write ( )
overridevirtual

Implements llvm::objcopy::elf::Writer.

Definition at line 2496 of file ELFObject.cpp.

References llvm::Error::success().

Member Data Documentation

◆ OnlyKeepDebug

template<class ELFT >
bool llvm::objcopy::elf::ELFWriter< ELFT >::OnlyKeepDebug

Definition at line 354 of file ELFObject.h.

◆ WriteSectionHeaders

template<class ELFT >
bool llvm::objcopy::elf::ELFWriter< ELFT >::WriteSectionHeaders

Definition at line 350 of file ELFObject.h.


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