ΒΆLLVMModuleRef LLVMModuleCreateWithName(
const char* ModuleID)
LLVMModuleRef LLVMModuleCreateWithName(
const char* ModuleID)
Description
Create a new, empty module in the global context. This is equivalent to calling LLVMModuleCreateWithNameInContext with LLVMGetGlobalContext() as the context parameter. Every invocation should be paired with LLVMDisposeModule() or memory will be leaked.
Declared at: llvm/include/llvm-c/Core.h:649
Parameters
- const char* ModuleID