class DIEAbbrev

Declaration

class DIEAbbrev : public Node { /* full declaration omitted */ };

Description

Dwarf abbreviation, describes the organization of a debug information object.

Declared at: llvm/include/llvm/CodeGen/DIE.h:79

Inherits from: FoldingSetBase::Node

Member Variables

private unsigned int Number = 0
Unique number for node.
private dwarf::Tag Tag
Dwarf tag code.
private bool Children
This cheats a bit in all of the uses since the values in the standard are 0 and 1 for no children and children respectively.
private SmallVector<llvm::DIEAbbrevData, 12> Data
Raw data bytes for abbreviation.

Method Overview

Inherited from FoldingSetBase::Node:

Methods

void AddAttribute(dwarf::Attribute Attribute,
                  dwarf::Form Form)

Description

Adds another set of attribute information to the abbreviation.

Declared at: llvm/include/llvm/CodeGen/DIE.h:109

Parameters

dwarf::Attribute Attribute
dwarf::Form Form

void AddImplicitConstAttribute(
    dwarf::Attribute Attribute,
    int64_t Value)

Description

Adds attribute with DW_FORM_implicit_const value

Declared at: llvm/include/llvm/CodeGen/DIE.h:114

Parameters

dwarf::Attribute Attribute
int64_t Value

DIEAbbrev(dwarf::Tag T, bool C)

Declared at: llvm/include/llvm/CodeGen/DIE.h:96

Parameters

dwarf::Tag T
bool C

void Emit(const llvm::AsmPrinter* AP) const

Description

Print the abbreviation using the specified asm printer.

Declared at: llvm/include/llvm/CodeGen/DIE.h:122

Parameters

const llvm::AsmPrinter* AP

void Profile(llvm::FoldingSetNodeID& ID) const

Description

Used to gather unique data for the abbreviation folding set.

Declared at: llvm/include/llvm/CodeGen/DIE.h:119

Parameters

llvm::FoldingSetNodeID& ID

void dump() const

Declared at: llvm/include/llvm/CodeGen/DIE.h:125

const SmallVectorImpl<llvm::DIEAbbrevData>&
getData() const

Declared at: llvm/include/llvm/CodeGen/DIE.h:103

unsigned int getNumber() const

Declared at: llvm/include/llvm/CodeGen/DIE.h:101

dwarf::Tag getTag() const

Description

Accessors. @ {

Declared at: llvm/include/llvm/CodeGen/DIE.h:100

bool hasChildren() const

Declared at: llvm/include/llvm/CodeGen/DIE.h:102

void print(llvm::raw_ostream& O) const

Declared at: llvm/include/llvm/CodeGen/DIE.h:124

Parameters

llvm::raw_ostream& O

void setChildrenFlag(bool hasChild)

Declared at: llvm/include/llvm/CodeGen/DIE.h:104

Parameters

bool hasChild

void setNumber(unsigned int N)

Declared at: llvm/include/llvm/CodeGen/DIE.h:105

Parameters

unsigned int N