Click or drag to resize
Llvm.NET LogoNativeModule Constructor (String, SourceLanguage, String, String, Boolean, String, UInt32)

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

Creates a named module with a root DICompileUnit to contain debugging information

Namespace:  Llvm.NET
Assembly:  Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntax
C#
public NativeModule(
	string moduleId,
	SourceLanguage language,
	string srcFilePath,
	string producer,
	bool optimized = false,
	string flags = "",
	uint runtimeVersion = 0
)

Parameters

moduleId
Type: SystemString
Module name
language
Type: Llvm.NET.DebugInfoSourceLanguage
Language to store in the debugging information
srcFilePath
Type: SystemString
path of source file to set for the compilation unit
producer
Type: SystemString
Name of the application producing this module
optimized (Optional)
Type: SystemBoolean
Flag to indicate if the module is optimized
flags (Optional)
Type: SystemString
Additional flags
runtimeVersion (Optional)
Type: SystemUInt32
Runtime version if any (use 0 if the runtime version has no meaning)
See Also