Constructor DebugStructType
DebugStructType(IDIBuilder, string, DIScope?, string, DIFile?, uint, DebugInfoFlags, IEnumerable<DebugMemberInfo>, DIType?, bool, uint?, uint)
Initializes a new instance of the DebugStructType class.
public DebugStructType(IDIBuilder diBuilder, string nativeName, DIScope? scope, string sourceName, DIFile? file, uint line, DebugInfoFlags debugFlags, IEnumerable<DebugMemberInfo> members, DIType? derivedFrom = null, bool packed = false, uint? bitSize = null, uint bitAlignment = 0)
Parameters
diBuilderIDIBuilderTo construct the debug information for this instance
nativeNamestringName of the type in LLVM IR (use Empty for anonymous types)
scopeDIScopeDebug scope for the structure
sourceNamestringSource/debug name of the struct (use Empty for anonymous types)
fileDIFileFile containing the definition of this type
lineuintline number this type is defined at
debugFlagsDebugInfoFlagsdebug flags for this type
membersIEnumerable<DebugMemberInfo>Description of all the members of this structure
derivedFromDITypeBase type, if any for this type
packedboolIndicates if this type is packed or not
bitSizeuint?Total bit size for this type or null to use default for target
bitAlignmentuintAlignment of the type in bits, 0 indicates default for target
DebugStructType(IStructType, IDIBuilder, DIScope?, string, DIFile?, uint, DebugInfoFlags, DIType?, IEnumerable<DIType>, uint)
Initializes a new instance of the DebugStructType class.
public DebugStructType(IStructType llvmType, IDIBuilder diBuilder, DIScope? scope, string name, DIFile? file, uint line, DebugInfoFlags debugFlags, DIType? derivedFrom, IEnumerable<DIType> elements, uint bitAlignment = 0)
Parameters
llvmTypeIStructTypeLLVM native type to build debug information for
diBuilderIDIBuilderTo construct the debug information for this instance
scopeDIScopeDebug scope for the structure
namestringSource/debug name of the struct (use Empty for anonymous types)
fileDIFileFile containing the definition of this type
lineuintline number this type is defined at
debugFlagsDebugInfoFlagsdebug flags for this type
derivedFromDITypeBase type, if any for this type
elementsIEnumerable<DIType>Debug type of all the members of this structure
bitAlignmentuintAlignment of the type in bits, 0 indicates default for target
DebugStructType(IStructType, IDIBuilder, DIScope?, string, DIFile?, uint)
Initializes a new instance of the DebugStructType class.
public DebugStructType(IStructType llvmType, IDIBuilder diBuilder, DIScope? scope, string name, DIFile? file, uint line)
Parameters
llvmTypeIStructTypeLLVM native type to build debug information for
diBuilderIDIBuilderTo construct the debug information for this instance
scopeDIScopeDebug scope for the structure
namestringSource/debug name of the struct (use Empty for anonymous types)
fileDIFileFile containing the definition of this type
lineuintline 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(IDIBuilder, string, DIScope?, string, DIFile?, uint)
Initializes a new instance of the DebugStructType class.
public DebugStructType(IDIBuilder diBuilder, string nativeName, DIScope? scope, string name, DIFile? file = null, uint line = 0)
Parameters
diBuilderIDIBuilderTo construct the debug information for this instance
nativeNamestringName of the type in LLVM IR
scopeDIScopeDebug scope for the structure
namestringSource/debug name of the struct (use Empty for anonymous types)
fileDIFileFile containing the definition of this type
lineuintline number this type is defined at
Remarks
This constructor creates a replaceable type that is replaced later with a full definition of the type