LLVM 20.0.0git
|
This structure keeps data of the concrete section. More...
#include "llvm/DWARFLinker/Parallel/DWARFLinker.h"
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 StringLiteral & | getName () 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 |
This structure keeps data of the concrete section.
Definition at line 93 of file DWARFLinker.h.
|
inline |
Definition at line 94 of file DWARFLinker.h.
|
virtualdefault |
|
pure virtual |
Returns section content.
Implemented in llvm::dwarf_linker::parallel::SectionDescriptor.
|
inline |
Returns endianess used by section.
Definition at line 105 of file DWARFLinker.h.
References Endianess.
|
inline |
Returns FormParams used by section.
Definition at line 107 of file DWARFLinker.h.
References Format.
Referenced by llvm::dwarf_linker::parallel::DebugLineSectionEmitter::emit(), llvm::dwarf_linker::parallel::DwarfUnit::emitDebugStringOffsetSection(), llvm::dwarf_linker::parallel::SectionDescriptor::emitOffset(), llvm::dwarf_linker::parallel::SectionDescriptor::emitUnitLength(), and llvm::dwarf_linker::parallel::SectionDescriptor::maybeEmitDwarf64Mark().
|
inline |
|
inline |
Returns section name.
Definition at line 103 of file DWARFLinker.h.
References llvm::dwarf_linker::getSectionName().
|
protected |
Definition at line 114 of file DWARFLinker.h.
Referenced by llvm::dwarf_linker::parallel::SectionDescriptor::applyIntVal(), llvm::dwarf_linker::parallel::SectionDescriptor::emitIntVal(), getEndianess(), llvm::dwarf_linker::parallel::SectionDescriptor::getIntVal(), and llvm::dwarf_linker::parallel::SectionDescriptor::setOutputFormat().
|
protected |
Output format.
Definition at line 113 of file DWARFLinker.h.
Referenced by llvm::dwarf_linker::parallel::SectionDescriptor::apply(), llvm::dwarf_linker::parallel::SectionDescriptor::applySLEB128(), llvm::dwarf_linker::parallel::SectionDescriptor::applyULEB128(), getFormParams(), llvm::dwarf_linker::parallel::SectionDescriptor::maybeEmitDwarf64Mark(), and llvm::dwarf_linker::parallel::SectionDescriptor::setOutputFormat().
|
protected |