ΒΆLLVMMetadataRef LLVMDIBuilderCreateCompileUnit(
LLVMDIBuilderRef Builder,
LLVMDWARFSourceLanguage Lang,
LLVMMetadataRef FileRef,
const char* Producer,
size_t ProducerLen,
LLVMBool isOptimized,
const char* Flags,
size_t FlagsLen,
unsigned int RuntimeVer,
const char* SplitName,
size_t SplitNameLen,
LLVMDWARFEmissionKind Kind,
unsigned int DWOId,
LLVMBool SplitDebugInlining,
LLVMBool DebugInfoForProfiling)
LLVMMetadataRef LLVMDIBuilderCreateCompileUnit(
LLVMDIBuilderRef Builder,
LLVMDWARFSourceLanguage Lang,
LLVMMetadataRef FileRef,
const char* Producer,
size_t ProducerLen,
LLVMBool isOptimized,
const char* Flags,
size_t FlagsLen,
unsigned int RuntimeVer,
const char* SplitName,
size_t SplitNameLen,
LLVMDWARFEmissionKind Kind,
unsigned int DWOId,
LLVMBool SplitDebugInlining,
LLVMBool DebugInfoForProfiling)
Description
A CompileUnit provides an anchor for all debugging information generated during this instance of compilation.
Declared at: llvm/include/llvm-c/DebugInfo.h:254
Parameters
- LLVMDIBuilderRef Builder
- LLVMDWARFSourceLanguage Lang
- Source programming language, eg.\c LLVMDWARFSourceLanguageC99
- LLVMMetadataRef FileRef
- File info.
- const char* Producer
- Identify the producer of debugging information and code. Usually this is a compiler version string.
- size_t ProducerLen
- The length of the C string passed to \c Producer.
- LLVMBool isOptimized
- A boolean flag which indicates whether optimization is enabled or not.
- const char* Flags
- This string lists command line options. This string is directly embedded in debug info output which may be used by a tool analyzing generated debugging information.
- size_t FlagsLen
- The length of the C string passed to \c Flags.
- unsigned int RuntimeVer
- This indicates runtime version for languages like Objective-C.
- const char* SplitName
- The name of the file that we'll split debug info out into.
- size_t SplitNameLen
- The length of the C string passed to \c SplitName.
- LLVMDWARFEmissionKind Kind
- The kind of debug information to generate.
- unsigned int DWOId
- The DWOId if this is a split skeleton compile unit.
- LLVMBool SplitDebugInlining
- Whether to emit inline debug info.
- LLVMBool DebugInfoForProfiling
- Whether to emit extra debug info for profile collection.