ΒΆLLVMModuleRef LLVMModuleCreateWithNameInContext(
const char* ModuleID,
LLVMContextRef C)
LLVMModuleRef LLVMModuleCreateWithNameInContext(
const char* ModuleID,
LLVMContextRef C)
Description
Create a new, empty module in a specific context. Every invocation should be paired with LLVMDisposeModule() or memory will be leaked.
Declared at: llvm/include/llvm-c/Core.h:657
Parameters
- const char* ModuleID
- LLVMContextRef C