Method LibLLVMDIBuilderCreateParameterVariable
LibLLVMDIBuilderCreateParameterVariable(LLVMDIBuilderRef, LLVMMetadataRef, String, size_t, UInt32, LLVMMetadataRef, UInt32, LLVMMetadataRef, Boolean, LLVMDIFlags)
Same as LLVMDIBuilderCreateParameterVariable except this correctly allows File == null
Declaration
public static LLVMMetadataRef LibLLVMDIBuilderCreateParameterVariable(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, string Name, size_t NameLen, uint ArgNo, LLVMMetadataRef File, uint LineNo, LLVMMetadataRef Ty, bool AlwaysPreserve, LLVMDIFlags Flags)
Parameters
public static LLVMMetadataRef LibLLVMDIBuilderCreateParameterVariable(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, string Name, size_t NameLen, uint ArgNo, LLVMMetadataRef File, uint LineNo, LLVMMetadataRef Ty, bool AlwaysPreserve, LLVMDIFlags Flags)
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 |
UInt32 | ArgNo | Index of the parameter (1 based) |
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 |
Returns
LLVMMetadataRef | Handle for the variable |