ΒΆ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* SysRoot,
size_t SysRootLen)
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* SysRoot,
size_t SysRootLen)
Description
Creates a new descriptor for a module with the specified parent scope.
Declared at: llvm/include/llvm-c/DebugInfo.h:290
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* SysRoot
- The Clang system root (value of -isysroot).
- size_t SysRootLen
- The length of the C string passed to \c SysRoot.