Table of Contents

Method CreateGlobalVariableExpression

Namespace
Ubiquity.NET.Llvm.DebugInfo
Assembly
Ubiquity.NET.Llvm.dll

CreateGlobalVariableExpression(DINode?, LazyEncodedString, LazyEncodedString, DIFile?, uint, DIType?, bool, DIExpression?, DINode?, uint)

public DIGlobalVariableExpression CreateGlobalVariableExpression(DINode? scope, LazyEncodedString name, LazyEncodedString linkageName, DIFile? file, uint lineNo, DIType? type, bool isLocalToUnit, DIExpression? value, DINode? declaration = null, uint bitAlign = 0)

Parameters

scope DINode

Scope for the expression

name LazyEncodedString

Source language name of the expression

linkageName LazyEncodedString

Linkage name of the expression

file DIFile

Source file for the expression

lineNo uint

Source Line number for the expression

type DIType

DIType of the expression

isLocalToUnit bool

Flag to indicate if this is local to the compilation unit (e.g. static in C)

value DIExpression

Value for the variable

declaration DINode

DINode for the declaration of the variable

bitAlign uint

Bit alignment for the expression

Returns

DIGlobalVariableExpression

DIGlobalVariableExpression from the parameters