 | NativeModule Constructor (String, Context, 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
Syntaxpublic NativeModule(
string moduleId,
Context context,
SourceLanguage language,
string srcFilePath,
string producer,
bool optimized = false,
string compilationFlags = "",
uint runtimeVersion = 0
)
Parameters
- moduleId
- Type: SystemString
Module name - context
- Type: Llvm.NETContext
Context for the module - 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 - compilationFlags (Optional)
- Type: SystemString
Additional flags - runtimeVersion (Optional)
- Type: SystemUInt32
Runtime version if any (use 0 if the runtime version has no meaning)
See Also