ΒΆLLVMMetadataRef LLVMDIBuilderCreateAutoVariable(
    LLVMDIBuilderRef Builder,
    LLVMMetadataRef Scope,
    const char* Name,
    size_t NameLen,
    LLVMMetadataRef File,
    unsigned int LineNo,
    LLVMMetadataRef Ty,
    LLVMBool AlwaysPreserve,
    LLVMDIFlags Flags,
    uint32_t AlignInBits)

Description

Create a new descriptor for a local auto variable.

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

Parameters

LLVMDIBuilderRef Builder
The DIBuilder.
LLVMMetadataRef Scope
The local scope the variable is declared in.
const char* Name
Variable name.
size_t NameLen
Length of variable name.
LLVMMetadataRef File
File where this variable is defined.
unsigned int LineNo
Line number.
LLVMMetadataRef Ty
Metadata describing the type of the variable.
LLVMBool AlwaysPreserve
If true, this descriptor will survive optimizations.
LLVMDIFlags Flags
Flags.
uint32_t AlignInBits
Variable alignment.