class DWARFListTableHeader

Declaration

class DWARFListTableHeader { /* full declaration omitted */ };

Description

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

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:56

Method Overview

Methods

DWARFListTableHeader(
    llvm::StringRef SectionName,
    llvm::StringRef ListTypeString)

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:91

Parameters

llvm::StringRef SectionName
llvm::StringRef ListTypeString

void clear()

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:94

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

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:118

Parameters

llvm::raw_ostream& OS
llvm::DIDumpOptions DumpOpts = {}

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

Description

Extract the table header and the array of offsets.

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:126

Parameters

llvm::DWARFDataExtractor Data
uint64_t* OffsetPtr

uint8_t getAddrSize() const

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:99

dwarf::DwarfFormat getFormat() const

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:104

uint64_t getHeaderOffset() const

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:98

static uint8_t getHeaderSize(
    dwarf::DwarfFormat Format)

Description

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

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:108

Parameters

dwarf::DwarfFormat Format

uint64_t getLength() const

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:100

llvm::StringRef getListTypeString() const

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:103

Optional<uint64_t> getOffsetEntry(
    uint32_t Index) const

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:119

Parameters

uint32_t Index

llvm::StringRef getSectionName() const

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:102

uint16_t getVersion() const

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:101

uint64_t length() const

Description

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).

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:131