LLVM 20.0.0git
Public Member Functions | Protected Attributes | List of all members
llvm::dwarf_linker::parallel::SectionDescriptorBase Struct Referenceabstract

This structure keeps data of the concrete section. More...

#include "llvm/DWARFLinker/Parallel/DWARFLinker.h"

Inheritance diagram for llvm::dwarf_linker::parallel::SectionDescriptorBase:
Inheritance graph
[legend]

Public Member Functions

 SectionDescriptorBase (DebugSectionKind SectionKind, dwarf::FormParams Format, llvm::endianness Endianess)
 
virtual ~SectionDescriptorBase ()=default
 
virtual StringRef getContents ()=0
 Returns section content.
 
DebugSectionKind getKind ()
 Returns section kind.
 
const StringLiteralgetName () const
 Returns section name.
 
llvm::endianness getEndianess () const
 Returns endianess used by section.
 
dwarf::FormParams getFormParams () const
 Returns FormParams used by section.
 

Protected Attributes

DebugSectionKind SectionKind = DebugSectionKind::NumberOfEnumEntries
 The section kind.
 
dwarf::FormParams Format = {4, 4, dwarf::DWARF32}
 Output format.
 
llvm::endianness Endianess = llvm::endianness::little
 

Detailed Description

This structure keeps data of the concrete section.

Definition at line 93 of file DWARFLinker.h.

Constructor & Destructor Documentation

◆ SectionDescriptorBase()

llvm::dwarf_linker::parallel::SectionDescriptorBase::SectionDescriptorBase ( DebugSectionKind  SectionKind,
dwarf::FormParams  Format,
llvm::endianness  Endianess 
)
inline

Definition at line 94 of file DWARFLinker.h.

◆ ~SectionDescriptorBase()

virtual llvm::dwarf_linker::parallel::SectionDescriptorBase::~SectionDescriptorBase ( )
virtualdefault

Member Function Documentation

◆ getContents()

virtual StringRef llvm::dwarf_linker::parallel::SectionDescriptorBase::getContents ( )
pure virtual

Returns section content.

Implemented in llvm::dwarf_linker::parallel::SectionDescriptor.

◆ getEndianess()

llvm::endianness llvm::dwarf_linker::parallel::SectionDescriptorBase::getEndianess ( ) const
inline

Returns endianess used by section.

Definition at line 105 of file DWARFLinker.h.

References Endianess.

◆ getFormParams()

dwarf::FormParams llvm::dwarf_linker::parallel::SectionDescriptorBase::getFormParams ( ) const
inline

◆ getKind()

DebugSectionKind llvm::dwarf_linker::parallel::SectionDescriptorBase::getKind ( )
inline

Returns section kind.

Definition at line 101 of file DWARFLinker.h.

References SectionKind.

◆ getName()

const StringLiteral & llvm::dwarf_linker::parallel::SectionDescriptorBase::getName ( ) const
inline

Returns section name.

Definition at line 103 of file DWARFLinker.h.

References llvm::dwarf_linker::getSectionName().

Member Data Documentation

◆ Endianess

llvm::endianness llvm::dwarf_linker::parallel::SectionDescriptorBase::Endianess = llvm::endianness::little
protected

◆ Format

dwarf::FormParams llvm::dwarf_linker::parallel::SectionDescriptorBase::Format = {4, 4, dwarf::DWARF32}
protected

◆ SectionKind

DebugSectionKind llvm::dwarf_linker::parallel::SectionDescriptorBase::SectionKind = DebugSectionKind::NumberOfEnumEntries
protected

The section kind.

Definition at line 111 of file DWARFLinker.h.

Referenced by getKind().


The documentation for this struct was generated from the following file: