Method CreateBitcodeModule
CreateBitcodeModule()
Creates a new instance of the BitcodeModule class in this context
Declaration
BitcodeModule CreateBitcodeModule()
Returns
BitcodeModule CreateBitcodeModule()
BitcodeModule | BitcodeModule |
CreateBitcodeModule(String)
Creates a new instance of the BitcodeModule class in a given context
Declaration
BitcodeModule CreateBitcodeModule(string moduleId)
Parameters
BitcodeModule CreateBitcodeModule(string moduleId)
String | moduleId | Module's ID |
Returns
BitcodeModule | BitcodeModule |
CreateBitcodeModule(String, SourceLanguage, String, String, Boolean, String, UInt32)
Initializes a new instance of the BitcodeModule class with a root DICompileUnit to contain debugging information
Declaration
BitcodeModule CreateBitcodeModule(string moduleId, SourceLanguage language, string srcFilePath, string producer, bool optimized = false, string compilationFlags = "", uint runtimeVersion = 0U)
Parameters
BitcodeModule CreateBitcodeModule(string moduleId, SourceLanguage language, string srcFilePath, string producer, bool optimized = false, string compilationFlags = "", uint runtimeVersion = 0U)
String | moduleId | Module name |
SourceLanguage | language | Language to store in the debugging information |
String | srcFilePath | path of source file to set for the compilation unit |
String | producer | Name of the application producing this module |
Boolean | optimized | Flag to indicate if the module is optimized |
String | compilationFlags | Additional flags (use Empty if none are needed) |
UInt32 | runtimeVersion | Runtime version if any (use 0 if the runtime version has no meaning) |
Returns
BitcodeModule | BitcodeModule |