Method CreateFunctionType
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
IDIBuilderDIBuilderto 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
IDIBuilderDIBuilderto use to create the debug information
isVarArg
boolFlag 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