LLVM 20.0.0git
|
#include "ObjCopy/ELF/ELFObject.h"
Public Member Functions | |
Error | write () override |
IHexWriter (Object &Obj, raw_ostream &Out, StringRef OutputFile) | |
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 394 of file ELFObject.h.
|
inline |
Definition at line 397 of file ELFObject.h.
|
overridevirtual |
Implements llvm::objcopy::elf::Writer.
Definition at line 2847 of file ELFObject.cpp.
References assert(), llvm::objcopy::elf::Writer::Buf, 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().