struct DWARFAttribute

Declaration

struct DWARFAttribute { /* full declaration omitted */ };

Description

Encapsulates a DWARF attribute value and all of the data required to describe the attribute value. This class is designed to be used by clients that want to iterate across all attributes in a DWARFDie.

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAttribute.h:24

Member Variables

public uint64_t Offset = 0
The debug info/types offset for this attribute.
public uint32_t ByteSize = 0
The debug info/types section byte size of the data for this attribute.
public dwarf::Attribute Attr = llvm::dwarf::Attribute(0)
The attribute enumeration of this attribute.
public llvm::DWARFFormValue Value
The form and value for this attribute.

Method Overview

Methods

bool isValid() const

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAttribute.h:34

static bool mayHaveLocationDescription(
    dwarf::Attribute Attr)

Description

Identifies DWARF attributes that may contain a reference to a DWARF expression.

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAttribute.h:44

Parameters

dwarf::Attribute Attr

bool operator bool() const

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAttribute.h:38