LLVM  10.0.0svn

A class representing the header of a list table such as the range list table in the .debug_rnglists section. More...

#include "llvm/DebugInfo/DWARF/DWARFListTable.h"

## Public Member Functions

void clear ()

uint64_t getLength () const

uint16_t getVersion () const

StringRef getSectionName () const

StringRef getListTypeString () const

dwarf::DwarfFormat getFormat () const

void dump (raw_ostream &OS, DIDumpOptions DumpOpts={}) const

Optional< uint64_t > getOffsetEntry (uint32_t Index) const

Error extract (DWARFDataExtractor Data, uint64_t *OffsetPtr)
Extract the table header and the array of offsets. More...

uint64_t length () const
Returns the length of the table, including the length field, or 0 if the length has not been determined (e.g. More...

## Static Public Member Functions

Return the size of the table header including the length but not including the offsets. More...

## Detailed Description

A class representing the header of a list table such as the range list table in the .debug_rnglists section.

Definition at line 56 of file DWARFListTable.h.

## Constructor & Destructor Documentation

inline

Definition at line 91 of file DWARFListTable.h.

inline

## ◆ dump()

 void DWARFListTableHeader::dump ( raw_ostream & OS, DIDumpOptions DumpOpts = {} ) const

Definition at line 89 of file DWARFListTable.cpp.

Referenced by dumpLoclistsSection().

## ◆ extract()

 Error DWARFListTableHeader::extract ( DWARFDataExtractor Data, uint64_t * OffsetPtr )

Extract the table header and the array of offsets.

Definition at line 18 of file DWARFListTable.cpp.

inline

Definition at line 99 of file DWARFListTable.h.

## ◆ getFormat()

inline

Definition at line 104 of file DWARFListTable.h.

References llvm::Format.

inline

Definition at line 98 of file DWARFListTable.h.

inlinestatic

Return the size of the table header including the length but not including the offsets.

Definition at line 108 of file DWARFListTable.h.

References llvm::dump(), llvm::dwarf::DWARF32, llvm::dwarf::DWARF64, and llvm_unreachable.

## ◆ getLength()

inline

Definition at line 100 of file DWARFListTable.h.

## ◆ getListTypeString()

inline

Definition at line 103 of file DWARFListTable.h.

## ◆ getOffsetEntry()

 Optional llvm::DWARFListTableHeader::getOffsetEntry ( uint32_t Index ) const
inline

Definition at line 119 of file DWARFListTable.h.

References llvm::Data, extract, and llvm::None.

## ◆ getSectionName()

inline

Definition at line 102 of file DWARFListTable.h.

References AMDGPU::ElfNote::SectionName.

## ◆ getVersion()

inline

Definition at line 101 of file DWARFListTable.h.

Referenced by dumpLoclistsSection().

## ◆ length()

Returns the length of the table, including the length field, or 0 if the length has not been determined (e.g.

because the table has not yet been parsed, or there was a problem in parsing).

Definition at line 112 of file DWARFListTable.cpp.

References llvm::dwarf::getUnitLengthFieldByteSize().

Referenced by extract(), and llvm::DWARFListTableBase< DWARFDebugRnglist >::length().

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