Table of Contents

Class IDIBuilderExtensions

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

Utility class to provide extensions to IDIBuilder

public static class IDIBuilderExtensions
Inheritance
IDIBuilderExtensions
Inherited Members

Remarks

This is used mostly to provide support for legacy runtimes that don't have the params IEnumerable language feature. In such a case, this provides extensions that allow use of a params array and then re-directs to the enumerable form of the function. This allows source compat of consumers while not trying to leverage support beyond what is supported by the runtime.

Methods

CreateExpression(IDIBuilder, params ExpressionOp[])

Creates a DIExpression from the provided ExpressionOps

GetOrCreateTypeArray(IDIBuilder, params DIType[])

Gets or creates a Type array with the specified types