ΒΆLLVMMetadataRef
LLVMDIBuilderCreateTempGlobalVariableFwdDecl(
LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
const char* Name,
size_t NameLen,
const char* Linkage,
size_t LnkLen,
LLVMMetadataRef File,
unsigned int LineNo,
LLVMMetadataRef Ty,
LLVMBool LocalToUnit,
LLVMMetadataRef Decl,
uint32_t AlignInBits)
LLVMMetadataRef
LLVMDIBuilderCreateTempGlobalVariableFwdDecl(
LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
const char* Name,
size_t NameLen,
const char* Linkage,
size_t LnkLen,
LLVMMetadataRef File,
unsigned int LineNo,
LLVMMetadataRef Ty,
LLVMBool LocalToUnit,
LLVMMetadataRef Decl,
uint32_t AlignInBits)
Description
Create a new descriptor for the specified global variable that is temporary and meant to be RAUWed.
Declared at: llvm/include/llvm-c/DebugInfo.h:1206
Parameters
- LLVMDIBuilderRef Builder
- LLVMMetadataRef Scope
- Variable scope.
- const char* Name
- Name of the variable.
- size_t NameLen
- The length of the C string passed to \c Name.
- const char* Linkage
- Mangled name of the variable.
- size_t LnkLen
- The length of the C string passed to \c Linkage.
- LLVMMetadataRef File
- File where this variable is defined.
- unsigned int LineNo
- Line number.
- LLVMMetadataRef Ty
- Variable Type.
- LLVMBool LocalToUnit
- Boolean flag indicate whether this variable is externally visible or not.
- LLVMMetadataRef Decl
- Reference to the corresponding declaration.
- uint32_t AlignInBits
- Variable alignment(or 0 if no alignment attr was specified)