LLVM  16.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]
Collaboration diagram for llvm::objcopy::elf::ELFWriter< ELFT >:
Collaboration 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 ()
 
 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 321 of file ELFObject.h.

Constructor & Destructor Documentation

◆ ~ELFWriter()

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

Definition at line 346 of file ELFObject.h.

◆ ELFWriter()

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

Definition at line 2074 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 2444 of file ELFObject.cpp.

References E, and llvm::Error::success().

Member Data Documentation

◆ OnlyKeepDebug

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

Definition at line 351 of file ELFObject.h.

◆ WriteSectionHeaders

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

Definition at line 347 of file ELFObject.h.


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