LLVM 18.0.0git
|
#include "ObjCopy/ELF/ELFObject.h"
Public Member Functions | |
~IHexWriter () | |
Error | finalize () override |
Error | write () override |
IHexWriter (Object &Obj, raw_ostream &Out) | |
![]() | |
virtual | ~Writer () |
virtual Error | finalize ()=0 |
virtual Error | write ()=0 |
Writer (Object &O, raw_ostream &Out) | |
Additional Inherited Members | |
![]() | |
Object & | Obj |
std::unique_ptr< WritableMemoryBuffer > | Buf |
raw_ostream & | Out |
Definition at line 371 of file ELFObject.h.
|
inline |
Definition at line 384 of file ELFObject.h.
|
inline |
Definition at line 387 of file ELFObject.h.
|
overridevirtual |
Implements llvm::objcopy::elf::Writer.
Definition at line 2747 of file ELFObject.cpp.
References llvm::objcopy::elf::SectionBase::accept(), addressOverflows32bit(), llvm::objcopy::elf::Writer::Buf, llvm::createStringError(), E, llvm::objcopy::elf::Object::Entry, llvm::objcopy::elf::SectionBase::Flags, llvm::objcopy::elf::IHexSectionWriterBase::getBufferOffset(), llvm::objcopy::elf::IHexRecord::getLineLength(), llvm::WritableMemoryBuffer::getNewMemBuffer(), llvm::invalid_argument, llvm::not_enough_memory, llvm::objcopy::elf::Writer::Obj, llvm::objcopy::elf::Object::sections(), llvm::ELF::SHF_ALLOC, llvm::ELF::SHT_NOBITS, llvm::objcopy::elf::SectionBase::Size, llvm::Error::success(), llvm::objcopy::elf::SectionBase::Type, and llvm::Twine::utohexstr().
|
overridevirtual |
Implements llvm::objcopy::elf::Writer.
Definition at line 2715 of file ELFObject.cpp.
References assert(), llvm::objcopy::elf::Writer::Buf, llvm::Offset, llvm::objcopy::elf::Writer::Out, llvm::Error::success(), and llvm::raw_ostream::write().