LLVM  15.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]
Collaboration diagram for llvm::objcopy::elf::SectionWriter:
Collaboration 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
 
virtual Error visit (const SymbolTableSection &Sec) override=0
 
virtual Error visit (const RelocationSection &Sec) override=0
 
virtual Error visit (const GnuDebugLinkSection &Sec) override=0
 
virtual Error visit (const GroupSection &Sec) override=0
 
virtual Error visit (const SectionIndexSection &Sec) override=0
 
virtual Error visit (const CompressedSection &Sec) override=0
 
virtual Error visit (const DecompressedSection &Sec) override=0
 
 SectionWriter (WritableMemoryBuffer &Buf)
 
- Public Member Functions inherited from llvm::objcopy::elf::SectionVisitor
virtual ~SectionVisitor ()=default
 

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]

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

◆ visit() [2/11]

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

◆ visit() [3/11]

Error SectionWriter::visit ( const DynamicRelocationSection Sec)
overridevirtual

◆ visit() [4/11]

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

◆ visit() [5/11]

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

◆ visit() [6/11]

Error SectionWriter::visit ( const OwnedDataSection Sec)
overridevirtual

◆ visit() [7/11]

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

◆ visit() [8/11]

Error SectionWriter::visit ( const Section Sec)
overridevirtual

◆ visit() [9/11]

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

◆ visit() [10/11]

Error SectionWriter::visit ( const StringTableSection Sec)
overridevirtual

◆ visit() [11/11]

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

Member Data Documentation

◆ Out

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

Definition at line 109 of file ELFObject.h.

Referenced by visit().


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