LLVM 20.0.0git
Public Member Functions | Protected Attributes | List of all members
llvm::objcopy::elf::SectionWriter Class Referenceabstract

#include "ObjCopy/ELF/ELFObject.h"

Inheritance diagram for llvm::objcopy::elf::SectionWriter:
Inheritance graph
[legend]

Public Member Functions

virtual ~SectionWriter ()=default
 
Error visit (const Section &Sec) override
 
Error visit (const OwnedDataSection &Sec) override
 
Error visit (const StringTableSection &Sec) override
 
Error visit (const DynamicRelocationSection &Sec) override
 
Error visit (const SymbolTableSection &Sec) override=0
 
Error visit (const RelocationSection &Sec) override=0
 
Error visit (const GnuDebugLinkSection &Sec) override=0
 
Error visit (const GroupSection &Sec) override=0
 
Error visit (const SectionIndexSection &Sec) override=0
 
Error visit (const CompressedSection &Sec) override=0
 
Error visit (const DecompressedSection &Sec) override=0
 
 SectionWriter (WritableMemoryBuffer &Buf)
 
- Public Member Functions inherited from llvm::objcopy::elf::SectionVisitor
virtual ~SectionVisitor ()=default
 
virtual Error visit (const Section &Sec)=0
 
virtual Error visit (const OwnedDataSection &Sec)=0
 
virtual Error visit (const StringTableSection &Sec)=0
 
virtual Error visit (const SymbolTableSection &Sec)=0
 
virtual Error visit (const RelocationSection &Sec)=0
 
virtual Error visit (const DynamicRelocationSection &Sec)=0
 
virtual Error visit (const GnuDebugLinkSection &Sec)=0
 
virtual Error visit (const GroupSection &Sec)=0
 
virtual Error visit (const SectionIndexSection &Sec)=0
 
virtual Error visit (const CompressedSection &Sec)=0
 
virtual Error visit (const DecompressedSection &Sec)=0
 

Protected Attributes

WritableMemoryBufferOut
 

Detailed Description

Definition at line 107 of file ELFObject.h.

Constructor & Destructor Documentation

◆ ~SectionWriter()

virtual llvm::objcopy::elf::SectionWriter::~SectionWriter ( )
virtualdefault

◆ SectionWriter()

llvm::objcopy::elf::SectionWriter::SectionWriter ( WritableMemoryBuffer Buf)
inlineexplicit

Definition at line 126 of file ELFObject.h.

Member Function Documentation

◆ visit() [1/11]

Error llvm::objcopy::elf::SectionWriter::visit ( const CompressedSection Sec)
overridepure virtual

◆ visit() [2/11]

Error llvm::objcopy::elf::SectionWriter::visit ( const DecompressedSection Sec)
overridepure virtual

◆ visit() [3/11]

Error SectionWriter::visit ( const DynamicRelocationSection Sec)
overridevirtual

◆ visit() [4/11]

Error llvm::objcopy::elf::SectionWriter::visit ( const GnuDebugLinkSection Sec)
overridepure virtual

◆ visit() [5/11]

Error llvm::objcopy::elf::SectionWriter::visit ( const GroupSection Sec)
overridepure virtual

◆ visit() [6/11]

Error SectionWriter::visit ( const OwnedDataSection Sec)
overridevirtual

◆ visit() [7/11]

Error llvm::objcopy::elf::SectionWriter::visit ( const RelocationSection Sec)
overridepure virtual

◆ visit() [8/11]

Error SectionWriter::visit ( const Section Sec)
overridevirtual

◆ visit() [9/11]

Error llvm::objcopy::elf::SectionWriter::visit ( const SectionIndexSection Sec)
overridepure virtual

◆ visit() [10/11]

Error SectionWriter::visit ( const StringTableSection Sec)
overridevirtual

◆ visit() [11/11]

Error llvm::objcopy::elf::SectionWriter::visit ( const SymbolTableSection Sec)
overridepure virtual

Member Data Documentation

◆ Out

WritableMemoryBuffer& llvm::objcopy::elf::SectionWriter::Out
protected

The documentation for this class was generated from the following files: