Constructor DebugArrayType
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
IArrayTypeUnderlying LLVM array type to bind debug info to
elementType
IDebugType<ITypeRef, DIType>Array element type with debug information
diBuilder
IDIBuilderDebug Information builder to use to build the information for this type
count
uintNumber of elements in the array
lowerBound
uintLower bound of the array [default = 0]
alignment
uintAlignment 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
IDIBuilderDebug Information builder to use to build the information for this type
count
uintNumber of elements in the array
lowerBound
uintLowerBound 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
IArrayTypeNative LLVM type for the elements
diBuilder
IDIBuilderDebug Information builder to use to build the information for this type
elementType
DITypeDebug type of the array elements
count
uintNumber of elements in the array
lowerBound
uintLowerBound value for the array indices [Default: 0]