struct DWARFAbbreviationDeclaration::AttributeSpec

Declaration

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

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

Member Variables

public dwarf::Attribute Attr
public dwarf::Form Form

Method Overview

Methods

AttributeSpec(dwarf::Attribute A,
              dwarf::Form F,
              int64_t Value)

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

Parameters

dwarf::Attribute A
dwarf::Form F
int64_t Value

AttributeSpec(dwarf::Attribute A,
              dwarf::Form F,
              Optional<uint8_t> ByteSize)

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

Parameters

dwarf::Attribute A
dwarf::Form F
Optional<uint8_t> ByteSize

Optional<int64_t> getByteSize(
    const llvm::DWARFUnit& U) const

Description

Get the fixed byte size of this Form if possible. This function might use the DWARFUnit to calculate the size of the Form, like for DW_AT_address and DW_AT_ref_addr, so this isn't just an accessor for the ByteSize member.

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

Parameters

const llvm::DWARFUnit& U

int64_t getImplicitConstValue() const

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

bool isImplicitConst() const

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