ΒΆLLVMMetadataRef LLVMDIBuilderCreateModule(
    LLVMDIBuilderRef Builder,
    LLVMMetadataRef ParentScope,
    const char* Name,
    size_t NameLen,
    const char* ConfigMacros,
    size_t ConfigMacrosLen,
    const char* IncludePath,
    size_t IncludePathLen,
    const char* APINotesFile,
    size_t APINotesFileLen)

Description

Creates a new descriptor for a module with the specified parent scope.

Declared at: llvm/include/llvm-c/DebugInfo.h:312

Parameters

LLVMDIBuilderRef Builder
The \c DIBuilder.
LLVMMetadataRef ParentScope
The parent scope containing this module declaration.
const char* Name
Module name.
size_t NameLen
The length of the C string passed to \c Name.
const char* ConfigMacros
A space-separated shell-quoted list of -D macro definitions as they would appear on a command line.
size_t ConfigMacrosLen
The length of the C string passed to \c ConfigMacros.
const char* IncludePath
The path to the module map file.
size_t IncludePathLen
The length of the C string passed to \c IncludePath.
const char* APINotesFile
The path to an API notes file for the module.
size_t APINotesFileLen
The length of the C string passed to \c APINotestFile.