A structured debug information entry. Has an abbreviation which describes its organization.

Synopsis

Declared in <llvm/CodeGen/DIE.h>

class DIE
    : public DIEValueList

Base Classes

Name

Description

DIEValueList

A list of DIE values.

Types

Name

Description

const_value_iterator

Const forward iterator over the DIE values in the list.

value_iterator

Mutable forward iterator over the DIE values in the list.

Type Aliases

Name

Description

child_iterator

Iterator over child DIEs.

child_range

Range of child DIEs.

const_child_iterator

Const iterator over child DIEs.

const_child_range

Const range of child DIEs.

const_value_range

Const range of DIE values.

value_range

Mutable range of DIE values.

Member Functions

Name

Description

DIE [constructor]

Constructors

operator=

Assignment operators

addChild

Add a child to the DIE.

addChildFront

Add a child to the front of this DIE's child list.

addValue

addValue overloads

children

children overloads

computeOffsetsAndAbbrevs

Compute the offset of this DIE and all its children.

deleteValue

Delete the first value with attribute Attribute from the list.

dump

Dump this DIE to standard error for debugging.

findAttribute

Find a value in the DIE with the attribute given.

generateAbbrev

Generate the abbreviation for this DIE.

getAbbrevNumber

Return the abbreviation number assigned to this DIE.

getDebugSectionOffset

Get the absolute offset within the .debug_info or .debug_types section for this DIE.

getOffset

Get the compile/type unit relative offset of this DIE.

getParent

Return the parent DIE, or null if this is a unit DIE.

getSize

Return the size in bytes of this DIE including its children.

getTag

Return the DWARF tag for this DIE.

getUnit

Climb up the parent chain to get the compile unit or type unit that this DIE belongs to.

getUnitDie

Climb up the parent chain to get the compile unit or type unit DIE that this DIE belongs to.

hasChildren

Return true if this DIE has children or children are forced.

print

Print this DIE and its children to O.

replaceValue

replaceValue overloads

setAbbrevNumber

Set the abbreviation number for this DIE.

setForceChildren

Force this DIE to claim children even when the child list is empty.

setOffset

Set the compile/type unit relative offset of this DIE.

setSize

Set the size in bytes of this DIE including its children.

takeValues

Take ownership of the nodes in Other, and append them to the back of the list.

values

values overloads

Static Member Functions

Name

Description

get

Allocate a new DIE with tag Tag using Alloc.

Friends

Name

Description

llvm::DIEUnit

Represents a compile or type unit.

llvm::IntrusiveBackList

Intrusive circular back‐list of nodes of type T.

Created with MrDocs