Table of Contents

Constructor DebugArrayType

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

DebugArrayType(IArrayType, IDebugType<ITypeRef, DIType>, IDIBuilder, uint, uint, uint)

Initializes a new instance of the DebugArrayType class

public DebugArrayType(IArrayType llvmType, IDebugType<ITypeRef, DIType> elementType, IDIBuilder diBuilder, uint count, uint lowerBound = 0, uint alignment = 0)

Parameters

llvmType IArrayType

Underlying LLVM array type to bind debug info to

elementType IDebugType<ITypeRef, DIType>

Array element type with debug information

diBuilder IDIBuilder

Debug Information builder to use to build the information for this type

count uint

Number of elements in the array

lowerBound uint

Lower bound of the array [default = 0]

alignment uint

Alignment for the type

DebugArrayType(IDebugType<ITypeRef, DIType>, IDIBuilder, uint, uint)

Initializes a new instance of the DebugArrayType class.

public DebugArrayType(IDebugType<ITypeRef, DIType> elementType, IDIBuilder diBuilder, uint count, uint lowerBound = 0)

Parameters

elementType IDebugType<ITypeRef, DIType>

Type of elements in the array

diBuilder IDIBuilder

Debug Information builder to use to build the information for this type

count uint

Number of elements in the array

lowerBound uint

LowerBound value for the array indices [Default: 0]

DebugArrayType(IArrayType, IDIBuilder, DIType, uint, uint)

Initializes a new instance of the DebugArrayType class.

public DebugArrayType(IArrayType llvmType, IDIBuilder diBuilder, DIType elementType, uint count, uint lowerBound = 0)

Parameters

llvmType IArrayType

Native LLVM type for the elements

diBuilder IDIBuilder

Debug Information builder to use to build the information for this type

elementType DIType

Debug type of the array elements

count uint

Number of elements in the array

lowerBound uint

LowerBound value for the array indices [Default: 0]