Method SetBody
SetBody(bool, params IEnumerable<ITypeRef>)
Sets the body of the structure
public void SetBody(bool packed, params IEnumerable<ITypeRef> elements)
Parameters
packed
boolFlag to indicate if the body elements are packed (e.g. no padding)
elements
IEnumerable<ITypeRef>Types of each element (may be empty)
SetBody(bool, IDIBuilder, DIScope?, DIFile?, uint, DebugInfoFlags, params IEnumerable<DebugMemberInfo>)
Set the body of a type
public void SetBody(bool packed, IDIBuilder diBuilder, DIScope? scope, DIFile? file, uint line, DebugInfoFlags debugFlags, params IEnumerable<DebugMemberInfo> debugElements)
Parameters
packed
boolFlag to indicate if the body elements are packed (e.g. no padding)
diBuilder
IDIBuilderTo construct the debug information for this instance
scope
DIScopeScope containing this type
file
DIFileFile containing the type
line
uintLine in
file
for this typedebugFlags
DebugInfoFlagsDebug flags for this type
debugElements
IEnumerable<DebugMemberInfo>Descriptors for all the elements in the type
SetBody(bool, IDIBuilder, DIScope?, DIFile?, uint, DebugInfoFlags, IEnumerable<ITypeRef>, IEnumerable<DebugMemberInfo>, DIType?, uint?, uint)
Set the body of a type
public void SetBody(bool packed, IDIBuilder diBuilder, DIScope? scope, DIFile? file, uint line, DebugInfoFlags debugFlags, IEnumerable<ITypeRef> nativeElements, IEnumerable<DebugMemberInfo> debugElements, DIType? derivedFrom = null, uint? bitSize = null, uint bitAlignment = 0)
Parameters
packed
boolFlag to indicate if the body elements are packed (e.g. no padding)
diBuilder
IDIBuilderDebug information builder to use for generating debug information
scope
DIScopeScope containing this type
file
DIFileFile containing the type
line
uintLine in
file
for this typedebugFlags
DebugInfoFlagsDebug flags for this type
nativeElements
IEnumerable<ITypeRef>LLVM type of each element
debugElements
IEnumerable<DebugMemberInfo>Descriptors for each element in the type
derivedFrom
DITypeBase type, if any for this type
bitSize
uint?Total bit size for this type or null to use default for target
bitAlignment
uintAlignment of the type in bits, 0 indicates default for target