LLVM 20.0.0git
|
#include "ObjCopy/ELF/ELFObject.h"
Public Member Functions | |
SRECWriter (Object &Obj, raw_ostream &OS, StringRef OutputFile) | |
Error | write () override |
Public Member Functions inherited from llvm::objcopy::elf::ASCIIHexWriter | |
ASCIIHexWriter (Object &Obj, raw_ostream &OS, StringRef OutputFile) | |
Error | finalize () override |
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) | |
Additional Inherited Members | |
Protected Member Functions inherited from llvm::objcopy::elf::ASCIIHexWriter | |
Error | checkSection (const SectionBase &S) const |
virtual Expected< size_t > | getTotalSize (WritableMemoryBuffer &EmptyBuffer) const =0 |
Protected Attributes inherited from llvm::objcopy::elf::ASCIIHexWriter | |
StringRef | OutputFileName |
size_t | TotalSize = 0 |
std::vector< const SectionBase * > | Sections |
Protected Attributes inherited from llvm::objcopy::elf::Writer | |
Object & | Obj |
std::unique_ptr< WritableMemoryBuffer > | Buf |
raw_ostream & | Out |
Definition at line 407 of file ELFObject.h.
|
inline |
Definition at line 409 of file ELFObject.h.
|
overridevirtual |
Implements llvm::objcopy::elf::Writer.
Definition at line 3041 of file ELFObject.cpp.
References assert(), llvm::objcopy::elf::Writer::Buf, llvm::objcopy::elf::Object::Entry, llvm::objcopy::elf::Writer::Obj, llvm::Offset, llvm::objcopy::elf::Writer::Out, llvm::objcopy::elf::ASCIIHexWriter::Sections, llvm::Error::success(), llvm::objcopy::elf::ASCIIHexWriter::TotalSize, and llvm::raw_ostream::write().