LLVMModuleCreateWithName

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.

extern (C) nothrow
LLVMModuleRef
LLVMModuleCreateWithName
(
const(char)* ModuleID
)

Meta