Method CreateGlobalVariableExpression
CreateGlobalVariableExpression(DINode, String, String, DIFile, UInt32, DIType, Boolean, DIExpression, DINode, UInt32)
Creates a new DIGlobalVariableExpression
Declaration
public DIGlobalVariableExpression CreateGlobalVariableExpression(DINode scope, string name, string linkageName, DIFile file, uint lineNo, DIType type, bool isLocalToUnit, DIExpression value, DINode declaration = null, uint bitAlign = 0U)
Parameters
public DIGlobalVariableExpression CreateGlobalVariableExpression(DINode scope, string name, string linkageName, DIFile file, uint lineNo, DIType type, bool isLocalToUnit, DIExpression value, DINode declaration = null, uint bitAlign = 0U)
DINode | scope | Scope for the expression |
String | name | Source language name of the expression |
String | linkageName | Linkage name of the expression |
DIFile | file | Source file for the expression |
UInt32 | lineNo | Source Line number for the expression |
DIType | type | DIType of the expression |
Boolean | isLocalToUnit | Flag to indicate if this is local to the compilation unit (e.g. static in C) |
DIExpression | value | Value for the variable |
DINode | declaration | DINode for the declaration of the variable |
UInt32 | bitAlign | Bit alignment for the expression |
Returns
DIGlobalVariableExpression | DIGlobalVariableExpression from the parameters |