Table of Contents

Method CreateStructType

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

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

Creates debug description of a structure type

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

Parameters

scope DIScope

Scope containing the structure

name LazyEncodedString

Name of the type (use Empty for anonymous types)

file DIFile

File containing the type

line uint

Line of the start of the type

bitSize ulong

Size of the type in bits

bitAlign uint

Bit alignment of the type

debugFlags DebugInfoFlags

DebugInfoFlags for the structure

derivedFrom DIType

DIType this type is derived from, if any

elements DINode[]

Node array describing the elements of the structure

Returns

DICompositeType

DICompositeType

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

Creates debug description of a structure type

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

Parameters

scope DIScope

Scope containing the structure

name LazyEncodedString

Name of the type (use Empty for anonymous types)

file DIFile

File containing the type

line uint

Line of the start of the type

bitSize ulong

Size of the type in bits

bitAlign uint

Bit alignment of the type

debugFlags DebugInfoFlags

DebugInfoFlags for the structure

derivedFrom DIType

DIType this type is derived from, if any

elements IEnumerable<DINode>

Node array describing the elements of the structure

runTimeLang uint

runtime language for the type

vTableHolder DIType

VTable holder for the type

uniqueId LazyEncodedString

Unique ID for the type

Returns

DICompositeType

DICompositeType