LLVM 22.0.0git
|
#include "ObjCopy/ELF/ELFObject.h"
Protected Member Functions | |
void | writeSection (const SectionBase *Sec, ArrayRef< uint8_t > Data) |
virtual void | writeData (uint8_t Type, uint16_t Addr, ArrayRef< uint8_t > Data) |
Protected Attributes | |
uint64_t | Offset = 0 |
Protected Attributes inherited from llvm::objcopy::elf::SectionWriter | |
WritableMemoryBuffer & | Out |
Definition at line 271 of file ELFObject.h.
|
inlineexplicit |
Definition at line 290 of file ELFObject.h.
References llvm::objcopy::elf::BinarySectionWriter::BinarySectionWriter().
Referenced by llvm::objcopy::elf::IHexSectionWriter::IHexSectionWriter().
|
inline |
Definition at line 293 of file ELFObject.h.
References Offset.
|
overridevirtual |
Reimplemented from llvm::objcopy::elf::BinarySectionWriter.
Definition at line 190 of file ELFObject.cpp.
|
overridevirtual |
Reimplemented from llvm::objcopy::elf::BinarySectionWriter.
Definition at line 191 of file ELFObject.cpp.
|
finalvirtual |
Implements llvm::objcopy::elf::SectionVisitor.
Definition at line 420 of file ELFObject.cpp.
References llvm::Error::success(), and writeSection().
|
overridevirtual |
Reimplemented from llvm::objcopy::elf::BinarySectionWriter.
Definition at line 187 of file ELFObject.cpp.
References llvm::ELF::SHT_NOBITS.
|
overridevirtual |
Reimplemented from llvm::objcopy::elf::BinarySectionWriter.
Definition at line 188 of file ELFObject.cpp.
References llvm::objcopy::elf::SectionWriter::Out.
|
finalvirtual |
Implements llvm::objcopy::elf::SectionVisitor.
Definition at line 405 of file ELFObject.cpp.
References llvm::Error::success(), and writeSection().
|
overridevirtual |
Reimplemented from llvm::objcopy::elf::BinarySectionWriter.
Definition at line 186 of file ELFObject.cpp.
Implements llvm::objcopy::elf::SectionVisitor.
Definition at line 400 of file ELFObject.cpp.
References llvm::Error::success(), and writeSection().
|
overridevirtual |
Reimplemented from llvm::objcopy::elf::BinarySectionWriter.
Definition at line 189 of file ELFObject.cpp.
|
overridevirtual |
Implements llvm::objcopy::elf::SectionVisitor.
Definition at line 410 of file ELFObject.cpp.
References assert(), llvm::StringTableBuilder::getSize(), llvm::objcopy::elf::SectionBase::Size, llvm::Error::success(), and writeSection().
|
overridevirtual |
Reimplemented from llvm::objcopy::elf::BinarySectionWriter.
Definition at line 185 of file ELFObject.cpp.
|
protectedvirtual |
Reimplemented in llvm::objcopy::elf::IHexSectionWriter.
Definition at line 395 of file ELFObject.cpp.
References llvm::Data, llvm::objcopy::elf::IHexRecord::getLineLength(), and Offset.
Referenced by writeSection().
|
protected |
Definition at line 351 of file ELFObject.cpp.
References assert(), llvm::Data, llvm::DataSize, sectionPhysicalAddr(), llvm::objcopy::elf::SectionBase::Size, and writeData().
Referenced by llvm::objcopy::elf::IHexSectionWriter::visit(), visit(), visit(), visit(), and visit().
|
protected |
Definition at line 284 of file ELFObject.h.
Referenced by getBufferOffset(), llvm::objcopy::elf::IHexSectionWriter::writeData(), and writeData().