Table of Contents

Method CreateFunctionType

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

CreateFunctionType(IDIBuilder, IDebugType<ITypeRef, DIType>, params IEnumerable<IDebugType<ITypeRef, DIType>>)

Creates a FunctionType with Debug information

public DebugFunctionType CreateFunctionType(IDIBuilder diBuilder, IDebugType<ITypeRef, DIType> retType, params IEnumerable<IDebugType<ITypeRef, DIType>> argTypes)

Parameters

diBuilder IDIBuilder

DIBuilderto use to create the debug information

retType IDebugType<ITypeRef, DIType>

Return type of the function

argTypes IEnumerable<IDebugType<ITypeRef, DIType>>

Argument types of the function

Returns

DebugFunctionType

Function signature

CreateFunctionType(IDIBuilder, bool, IDebugType<ITypeRef, DIType>, params IEnumerable<IDebugType<ITypeRef, DIType>>)

Creates a FunctionType with Debug information

public DebugFunctionType CreateFunctionType(IDIBuilder diBuilder, bool isVarArg, IDebugType<ITypeRef, DIType> retType, params IEnumerable<IDebugType<ITypeRef, DIType>> argTypes)

Parameters

diBuilder IDIBuilder

DIBuilderto use to create the debug information

isVarArg bool

Flag to indicate if this function is variadic

retType IDebugType<ITypeRef, DIType>

Return type of the function

argTypes IEnumerable<IDebugType<ITypeRef, DIType>>

Argument types of the function

Returns

DebugFunctionType

Function signature