struct DWARFAbbreviationDeclaration::FixedSizeInfo

Declaration

struct DWARFAbbreviationDeclaration::FixedSizeInfo { /* full declaration omitted */ };

Description

A helper structure that can quickly determine the size in bytes of an abbreviation declaration.

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h:150

Member Variables

public uint16_t NumBytes = 0
The fixed byte size for fixed size forms.
public uint8_t NumAddrs = 0
Number of DW_FORM_address forms in this abbrevation declaration.
public uint8_t NumRefAddrs = 0
Number of DW_FORM_ref_addr forms in this abbrevation declaration.
public uint8_t NumDwarfOffsets = 0
Number of 4 byte in DWARF32 and 8 byte in DWARF64 forms.

Method Overview

Methods

FixedSizeInfo()

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h:160

size_t getByteSize(const llvm::DWARFUnit& U) const

Description

Calculate the fixed size in bytes given a DWARFUnit.

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h:168

Parameters

const llvm::DWARFUnit& U
the DWARFUnit to use when determing the byte size.

Returns

the size in bytes for all attribute data in this abbreviation. The returned size does not include bytes for the ULEB128 abbreviation code