Construct a DINode.

Synopsis

Declared in <llvm/IR/DebugInfoMetadata.h>

DINode(
    LLVMContext& C,
    unsigned int ID,
    StorageType Storage,
    unsigned int Tag,
    ArrayRef<Metadata*> Ops1,
    ArrayRef<Metadata*> Ops2 = {});

Parameters

Name

Description

C

LLVM context that owns the metadata.

ID

Metadata subclass ID.

Storage

Storage/uniquing kind for the new node.

Tag

DWARF tag for the node.

Ops1

First operand list.

Ops2

Optional second operand list.

Created with MrDocs