LLVM
17.0.0git
|
#include "ObjCopy/ELF/ELFObject.h"
Public Member Functions | |
virtual | ~ELFWriter () |
Error | finalize () override |
Error | write () override |
ELFWriter (Object &Obj, raw_ostream &Out, bool WSH, bool OnlyKeepDebug) | |
![]() | |
virtual | ~Writer () |
Writer (Object &O, raw_ostream &Out) | |
Public Attributes | |
bool | WriteSectionHeaders |
bool | OnlyKeepDebug |
Additional Inherited Members | |
![]() | |
Object & | Obj |
std::unique_ptr< WritableMemoryBuffer > | Buf |
raw_ostream & | Out |
Definition at line 321 of file ELFObject.h.
|
inlinevirtual |
Definition at line 346 of file ELFObject.h.
ELFWriter::ELFWriter | ( | Object & | Obj, |
raw_ostream & | Out, | ||
bool | WSH, | ||
bool | OnlyKeepDebug | ||
) |
Definition at line 2096 of file ELFObject.cpp.
|
overridevirtual |
Implements llvm::objcopy::elf::Writer.
Definition at line 2502 of file ELFObject.cpp.
References llvm::any_of(), llvm::createStringError(), llvm::drop_begin(), E, llvm::objcopy::elf::SectionBase::HasSymbol, llvm::invalid_argument, removeUnneededSections(), llvm::objcopy::elf::SectionIndexSection::setSymTab(), and llvm::ELF::SHN_LORESERVE.
|
overridevirtual |
Implements llvm::objcopy::elf::Writer.
Definition at line 2466 of file ELFObject.cpp.
References E, and llvm::Error::success().
bool llvm::objcopy::elf::ELFWriter< ELFT >::OnlyKeepDebug |
Definition at line 351 of file ELFObject.h.
bool llvm::objcopy::elf::ELFWriter< ELFT >::WriteSectionHeaders |
Definition at line 347 of file ELFObject.h.