Method LibLLVMDIBuilderCreateAutoVariable
LibLLVMDIBuilderCreateAutoVariable(LLVMDIBuilderRef, LLVMMetadataRef, String, size_t, LLVMMetadataRef, UInt32, LLVMMetadataRef, Boolean, LLVMDIFlags, UInt32)
Same as LLVMDIBuilderCreateAutoVariable except this correctly allows File == null
Declaration
public static LLVMMetadataRef LibLLVMDIBuilderCreateAutoVariable(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, string Name, size_t NameLen, LLVMMetadataRef File, uint LineNo, LLVMMetadataRef Ty, bool AlwaysPreserve, LLVMDIFlags Flags, uint AlignInBits)
Parameters
public static LLVMMetadataRef LibLLVMDIBuilderCreateAutoVariable(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, string Name, size_t NameLen, LLVMMetadataRef File, uint LineNo, LLVMMetadataRef Ty, bool AlwaysPreserve, LLVMDIFlags Flags, uint AlignInBits)
LLVMDIBuilderRef | Builder | LLVMDIBuilderRef to create the variable |
LLVMMetadataRef | Scope | Scope containing the variable |
String | Name | Name of the variable |
size_t | NameLen | Length of the variable |
LLVMMetadataRef | File | File the variable belongs to (May be null) |
UInt32 | LineNo | Line number the variable is declared on |
LLVMMetadataRef | Ty | TYpe of the variable |
Boolean | AlwaysPreserve | Indicates if the existence of the variable is always preserved even if optimization can remove the variable |
LLVMDIFlags | Flags | Debug info flags for the variable |
UInt32 | AlignInBits | Variable alignment in bits |
Returns
LLVMMetadataRef | Handle for the variable |