Method CreateBitcodeModule
CreateBitcodeModule()
Creates a new instance of the BitcodeModule class in this context
Declaration
public BitcodeModule CreateBitcodeModule()
Returns
public BitcodeModule CreateBitcodeModule()
BitcodeModule | BitcodeModule |
Implements
CreateBitcodeModule(String)
Creates a new instance of the BitcodeModule class in a given context
Declaration
public BitcodeModule CreateBitcodeModule(string moduleId)
Parameters
public BitcodeModule CreateBitcodeModule(string moduleId)
String | moduleId | Module's ID |
Returns
BitcodeModule | BitcodeModule |
Implements
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
public BitcodeModule CreateBitcodeModule(string moduleId, SourceLanguage language, string srcFilePath, string producer, bool optimized = false, string compilationFlags = "", uint runtimeVersion = 0U)
Parameters
public 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 |