Method SetBody
SetBody(Boolean, ITypeRef[])
Sets the body of the structure
Declaration
public void SetBody(bool packed, params ITypeRef[] elements)
Parameters
public void SetBody(bool packed, params ITypeRef[] elements)
Boolean | packed | Flag to indicate if the body elements are packed (e.g. no padding) |
ITypeRef[] | elements | Types of each element (may be empty) |
Implements
SetBody(Boolean, IEnumerable<ITypeRef>)
Sets the body of the structure
Declaration
public void SetBody(bool packed, IEnumerable<ITypeRef> elements)
Parameters
public void SetBody(bool packed, IEnumerable<ITypeRef> elements)
Boolean | packed | Flag to indicate if the body elements are packed (e.g. no padding) |
IEnumerable<ITypeRef> | elements | Types of each element (may be empty) |
Implements
SetBody(Boolean, BitcodeModule, DIScope, DIFile, UInt32, DebugInfoFlags, IEnumerable<DebugMemberInfo>)
Set the body of a type
Declaration
public void SetBody(bool packed, BitcodeModule module, DIScope scope, DIFile file, uint line, DebugInfoFlags debugFlags, IEnumerable<DebugMemberInfo> debugElements)
Parameters
public void SetBody(bool packed, BitcodeModule module, DIScope scope, DIFile file, uint line, DebugInfoFlags debugFlags, IEnumerable<DebugMemberInfo> debugElements)
Boolean | packed | Flag to indicate if the body elements are packed (e.g. no padding) |
BitcodeModule | module | Module to contain the debug metadata for the type |
DIScope | scope | Scope containing this type |
DIFile | file | File containing the type |
UInt32 | line | Line in |
DebugInfoFlags | debugFlags | Debug flags for this type |
IEnumerable<DebugMemberInfo> | debugElements | Descriptors for all the elements in the type |
SetBody(Boolean, BitcodeModule, DIScope, DIFile, UInt32, DebugInfoFlags, IEnumerable<ITypeRef>, IEnumerable<DebugMemberInfo>, DIType, Nullable<UInt32>, UInt32)
Set the body of a type
Declaration
public void SetBody(bool packed, BitcodeModule module, DIScope scope, DIFile file, uint line, DebugInfoFlags debugFlags, IEnumerable<ITypeRef> nativeElements, IEnumerable<DebugMemberInfo> debugElements, DIType derivedFrom = null, uint? bitSize = null, uint bitAlignment = 0U)
Parameters
public void SetBody(bool packed, BitcodeModule module, DIScope scope, DIFile file, uint line, DebugInfoFlags debugFlags, IEnumerable<ITypeRef> nativeElements, IEnumerable<DebugMemberInfo> debugElements, DIType derivedFrom = null, uint? bitSize = null, uint bitAlignment = 0U)
Boolean | packed | Flag to indicate if the body elements are packed (e.g. no padding) |
BitcodeModule | module | Module to contain the debug metadata for the type |
DIScope | scope | Scope containing this type |
DIFile | file | File containing the type |
UInt32 | line | Line in |
DebugInfoFlags | debugFlags | Debug flags for this type |
IEnumerable<ITypeRef> | nativeElements | LLVM type of each element |
IEnumerable<DebugMemberInfo> | debugElements | Descriptors for each element in the type |
DIType | derivedFrom | Base type, if any for this type |
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 |