Table of Contents

Method SetBody

Namespace
Ubiquity.NET.Llvm.DebugInfo
Assembly
Ubiquity.NET.Llvm.dll

SetBody(bool, params IEnumerable<ITypeRef>)

Sets the body of the structure

public void SetBody(bool packed, params IEnumerable<ITypeRef> elements)

Parameters

packed bool

Flag 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 bool

Flag to indicate if the body elements are packed (e.g. no padding)

diBuilder IDIBuilder

To construct the debug information for this instance

scope DIScope

Scope containing this type

file DIFile

File containing the type

line uint

Line in file for this type

debugFlags DebugInfoFlags

Debug 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 bool

Flag to indicate if the body elements are packed (e.g. no padding)

diBuilder IDIBuilder

Debug information builder to use for generating debug information

scope DIScope

Scope containing this type

file DIFile

File containing the type

line uint

Line in file for this type

debugFlags DebugInfoFlags

Debug flags for this type

nativeElements IEnumerable<ITypeRef>

LLVM type of each element

debugElements IEnumerable<DebugMemberInfo>

Descriptors for each element in the type

derivedFrom DIType

Base type, if any for this type

bitSize uint?

Total bit size for this type or null to use default for target

bitAlignment uint

Alignment of the type in bits, 0 indicates default for target