 | DebugInfoBuilderCreateCompileUnit Method (SourceLanguage, String, String, String, Boolean, String, UInt32) |
[This is preliminary documentation and is subject to change.]
Namespace:
Llvm.NET.DebugInfo
Assembly:
Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntaxpublic DICompileUnit CreateCompileUnit(
SourceLanguage language,
string fileName,
string fileDirectory,
string producer,
bool optimized,
string compilationFlags,
uint runtimeVersion
)
Parameters
- language
- Type: Llvm.NET.DebugInfoSourceLanguage
SourceLanguage for the compilation unit - fileName
- Type: SystemString
Name of the source file of this compilation unit (without any path) - fileDirectory
- Type: SystemString
Path of the directory containing the file - producer
- Type: SystemString
Name of the application processing the compilation unit - optimized
- Type: SystemBoolean
Flag to indicate if the code in this compilation unit is optimized - compilationFlags
- Type: SystemString
Additional tool specific flags - runtimeVersion
- Type: SystemUInt32
Runtime version
Return Value
Type:
DICompileUnitDICompileUnit
See Also