Table of Contents

Method CreateFunctionType

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

CreateFunctionType(IContext, IDIBuilder, IDebugType<ITypeRef, DIType>, params IDebugType<ITypeRef, DIType>[])

Creates a FunctionType with Debug information

public static DebugFunctionType CreateFunctionType(this IContext self, IDIBuilder diBuilder, IDebugType<ITypeRef, DIType> retType, params IDebugType<ITypeRef, DIType>[] argTypes)

Parameters

self IContext

Context instance to get the function from

diBuilder IDIBuilder

DIBuilderto use to create the debug information

retType IDebugType<ITypeRef, DIType>

Return type of the function

argTypes IDebugType<ITypeRef, DIType>[]

Argument types of the function

Returns

DebugFunctionType

Function signature