Click or drag to resize
Llvm.NET LogoDebugInfoBuilderForwardDeclareFunction Method

[This is preliminary documentation and is subject to change.]

Creates a new forward declaration to a function

Namespace:  Llvm.NET.DebugInfo
Assembly:  Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntax
C#
public DISubProgram ForwardDeclareFunction(
	DIScope scope,
	string name,
	string mangledName,
	DIFile file,
	uint line,
	DISubroutineType subroutineType,
	bool isLocalToUnit,
	bool isDefinition,
	uint scopeLine,
	DebugInfoFlags debugFlags,
	bool isOptimized
)

Parameters

scope
Type: Llvm.NET.DebugInfoDIScope
DIScope for the declaration
name
Type: SystemString
Name of the function as it appears in source
mangledName
Type: SystemString
mangled name of the function (for linker)
file
Type: Llvm.NET.DebugInfoDIFile
Source file location for the function
line
Type: SystemUInt32
starting line of the declaration
subroutineType
Type: Llvm.NET.DebugInfoDISubroutineType
Signature for the function
isLocalToUnit
Type: SystemBoolean
Flag to indicate if this declaration is local to the compilation unit
isDefinition
Type: SystemBoolean
Flag to indicate if this is a definition
scopeLine
Type: SystemUInt32
Line of the first scope block
debugFlags
Type: Llvm.NET.DebugInfoDebugInfoFlags
DebugInfoFlags for the function
isOptimized
Type: SystemBoolean
Flag to indicate if the function is optimized

Return Value

Type: DISubProgram
See Also