Table of Contents

Method CreateUnionType

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

CreateUnionType(DIScope?, LazyEncodedString, DIFile?, uint, ulong, uint, DebugInfoFlags, DINodeArray)

Creates debug description of a union type

public DICompositeType CreateUnionType(DIScope? scope, LazyEncodedString name, DIFile? file, uint line, ulong bitSize, uint bitAlign, DebugInfoFlags debugFlags, DINodeArray elements)

Parameters

scope DIScope

Scope containing the union

name LazyEncodedString

Name of the type (use Empty for anonymous types)

file DIFile

File containing the union

line uint

Line of the start of the union

bitSize ulong

Size of the union in bits

bitAlign uint

Bit alignment of the union

debugFlags DebugInfoFlags

DebugInfoFlags for the union

elements DINodeArray

Node array describing the elements of the union

Returns

DICompositeType

DICompositeType

CreateUnionType(DIScope?, LazyEncodedString, DIFile?, uint, ulong, uint, DebugInfoFlags, params DINode[])

Creates debug description of a union type

public DICompositeType CreateUnionType(DIScope? scope, LazyEncodedString name, DIFile? file, uint line, ulong bitSize, uint bitAlign, DebugInfoFlags debugFlags, params DINode[] elements)

Parameters

scope DIScope

Scope containing the union

name LazyEncodedString

Name of the type (use Empty for anonymous types)

file DIFile

File containing the union

line uint

Line of the start of the union

bitSize ulong

Size of the union in bits

bitAlign uint

Bit alignment of the union

debugFlags DebugInfoFlags

DebugInfoFlags for the union

elements DINode[]

Node array describing the elements of the union

Returns

DICompositeType

DICompositeType

CreateUnionType(DIScope?, LazyEncodedString, DIFile?, uint, ulong, uint, DebugInfoFlags, IEnumerable<DINode>, uint, LazyEncodedString?)

Creates debug description of a union type

public DICompositeType CreateUnionType(DIScope? scope, LazyEncodedString name, DIFile? file, uint line, ulong bitSize, uint bitAlign, DebugInfoFlags debugFlags, IEnumerable<DINode> elements, uint runTimeLang = 0, LazyEncodedString? uniqueId = null)

Parameters

scope DIScope

Scope containing the union

name LazyEncodedString

Name of the type (use Empty for anonymous types)

file DIFile

File containing the union

line uint

Line of the start of the union

bitSize ulong

Size of the union in bits

bitAlign uint

Bit alignment of the union

debugFlags DebugInfoFlags

DebugInfoFlags for the union

elements IEnumerable<DINode>

Node array describing the elements of the union

runTimeLang uint

Objective-C runtime version [Default=0]

uniqueId LazyEncodedString

A unique identifier for the type

Returns

DICompositeType

DICompositeType