Constructor DebugPointerType
DebugPointerType(IDebugType<ITypeRef, DIType>, BitcodeModule, UInt32, String, UInt32)
Initializes a new instance of the DebugPointerType class.
Declaration
public DebugPointerType(IDebugType<ITypeRef, DIType> debugElementType, BitcodeModule module, uint addressSpace = 0U, string name = null, uint alignment = 0U)
Parameters
public DebugPointerType(IDebugType<ITypeRef, DIType> debugElementType, BitcodeModule module, uint addressSpace = 0U, string name = null, uint alignment = 0U)
IDebugType<ITypeRef, DIType> | debugElementType | Debug type of the pointee |
BitcodeModule | module | BitcodeModule used for creating the pointer type and debug information |
UInt32 | addressSpace | Target address space for the pointer [Default: 0] |
String | name | Name of the type [Default: null] |
UInt32 | alignment | Alignment on pointer |
DebugPointerType(ITypeRef, BitcodeModule, DIType, UInt32, String, UInt32)
Initializes a new instance of the DebugPointerType class.
Declaration
public DebugPointerType(ITypeRef llvmElementType, BitcodeModule module, DIType elementType, uint addressSpace = 0U, string name = null, uint alignment = 0U)
Parameters
public DebugPointerType(ITypeRef llvmElementType, BitcodeModule module, DIType elementType, uint addressSpace = 0U, string name = null, uint alignment = 0U)
ITypeRef | llvmElementType | Native type of the pointee |
BitcodeModule | module | BitcodeModule used for creating the pointer type and debug information |
DIType | elementType | Debug type of the pointee |
UInt32 | addressSpace | Target address space for the pointer [Default: 0] |
String | name | Name of the type [Default: null] |
UInt32 | alignment | Alignment of pointer |
DebugPointerType(IPointerType, BitcodeModule, DIType, String, UInt32)
Initializes a new instance of the DebugPointerType class.
Declaration
public DebugPointerType(IPointerType llvmPtrType, BitcodeModule module, DIType elementType, string name = null, uint alignment = 0U)
Parameters
public DebugPointerType(IPointerType llvmPtrType, BitcodeModule module, DIType elementType, string name = null, uint alignment = 0U)
IPointerType | llvmPtrType | Native type of the pointer |
BitcodeModule | module | BitcodeModule used for creating the pointer type and debug information |
DIType | elementType | Debug type of the pointee |
String | name | Name of the type [Default: null] |
UInt32 | alignment | Alignment for pointer type |
DebugPointerType(IPointerType, DIDerivedType)
Initializes a new instance of the DebugPointerType class.
Declaration
public DebugPointerType(IPointerType llvmPtrType, DIDerivedType debugType)
Parameters
public DebugPointerType(IPointerType llvmPtrType, DIDerivedType debugType)
IPointerType | llvmPtrType | Native type of the pointer |
DIDerivedType | debugType | Debug type for the pointer |
Remarks
This constructor is typically used when building typedefs to a basic type to provide namespace scoping for the typedef for languages that support such a concept. This is needed because basic types don't have any namespace information in the LLVM Debug information (they are implicitly in the global namespace)