Constructor DebugStructType
DebugStructType(BitcodeModule, String, DIScope, String, DIFile, UInt32, DebugInfoFlags, IEnumerable<DebugMemberInfo>, DIType, Boolean, Nullable<UInt32>, UInt32)
Initializes a new instance of the DebugStructType class.
Declaration
public DebugStructType(BitcodeModule module, string nativeName, DIScope scope, string name, DIFile file, uint line, DebugInfoFlags debugFlags, IEnumerable<DebugMemberInfo> debugElements, DIType derivedFrom = null, bool packed = false, uint? bitSize = default(uint? ), uint bitAlignment = 0U)
Parameters
public DebugStructType(BitcodeModule module, string nativeName, DIScope scope, string name, DIFile file, uint line, DebugInfoFlags debugFlags, IEnumerable<DebugMemberInfo> debugElements, DIType derivedFrom = null, bool packed = false, uint? bitSize = default(uint? ), uint bitAlignment = 0U)
BitcodeModule | module | Module to contain the debug meta data |
String | nativeName | Name of the type in LLVM IR |
DIScope | scope | Debug scope for the structure |
String | name | Source/debug name of the struct |
DIFile | file | File containing the definition of this type |
UInt32 | line | line number this type is defined at |
DebugInfoFlags | debugFlags | debug flags for this type |
IEnumerable<DebugMemberInfo> | debugElements | Description of all the members of this structure |
DIType | derivedFrom | Base type, if any for this type |
Boolean | packed | Indicates if this type is packed or not |
Nullable<UInt32> | bitSize | Total bit size for this type or null to use default for target |
UInt32 | bitAlignment | Alignment of the type in bits, 0 indicates default for target |
DebugStructType(IStructType, BitcodeModule, DIScope, String, DIFile, UInt32, DebugInfoFlags, DIType, IEnumerable<DIType>, UInt32)
Initializes a new instance of the DebugStructType class.
Declaration
public DebugStructType(IStructType llvmType, BitcodeModule module, DIScope scope, string name, DIFile file, uint line, DebugInfoFlags debugFlags, DIType derivedFrom, IEnumerable<DIType> elements, uint bitAlignment = 0U)
Parameters
public DebugStructType(IStructType llvmType, BitcodeModule module, DIScope scope, string name, DIFile file, uint line, DebugInfoFlags debugFlags, DIType derivedFrom, IEnumerable<DIType> elements, uint bitAlignment = 0U)
IStructType | llvmType | LLVM native type to build debug information for |
BitcodeModule | module | Module to contain the debug meta data |
DIScope | scope | Debug scope for the structure |
String | name | Source/debug name of the struct |
DIFile | file | File containing the definition of this type |
UInt32 | line | line number this type is defined at |
DebugInfoFlags | debugFlags | debug flags for this type |
DIType | derivedFrom | Base type, if any for this type |
IEnumerable<DIType> | elements | Debug type of all the members of this structure |
UInt32 | bitAlignment | Alignment of the type in bits, 0 indicates default for target |
DebugStructType(IStructType, BitcodeModule, DIScope, String, DIFile, UInt32)
Initializes a new instance of the DebugStructType class.
Declaration
public DebugStructType(IStructType llvmType, BitcodeModule module, DIScope scope, string name, DIFile file, uint line)
Parameters
public DebugStructType(IStructType llvmType, BitcodeModule module, DIScope scope, string name, DIFile file, uint line)
IStructType | llvmType | LLVM native type to build debug information for |
BitcodeModule | module | Module to contain the debug meta data |
DIScope | scope | Debug scope for the structure |
String | name | Source/debug name of the struct |
DIFile | file | File containing the definition of this type |
UInt32 | line | line number this type is defined at |
Remarks
This constructor creates a replaceable type that is replaced later with a full definition of the type
DebugStructType(BitcodeModule, String, DIScope, String, DIFile, UInt32)
Initializes a new instance of the DebugStructType class.
Declaration
public DebugStructType(BitcodeModule module, string nativeName, DIScope scope, string name, DIFile file = null, uint line = 0U)
Parameters
public DebugStructType(BitcodeModule module, string nativeName, DIScope scope, string name, DIFile file = null, uint line = 0U)
BitcodeModule | module | Module to contain the debug meta data |
String | nativeName | Name of the type in LLVM IR |
DIScope | scope | Debug scope for the structure |
String | name | Source/debug name of the struct |
DIFile | file | File containing the definition of this type |
UInt32 | line | line number this type is defined at |
Remarks
This constructor creates a replaceable type that is replaced later with a full definition of the type