Click or drag to resize
Llvm.NET LogoAttributeSetGetAttributeValue Method

[This is preliminary documentation and is subject to change.]

Get an integer value for an index

Namespace:  Llvm.NET.Values
Assembly:  Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntax
C#
public ulong GetAttributeValue(
	FunctionAttributeIndex index,
	AttributeKind kind
)

Parameters

index
Type: Llvm.NETFunctionAttributeIndex
Index to get the value from
kind
Type: Llvm.NETAttributeKind
AttributeKind to get the value of (see remarks for supported attributes)

Return Value

Type: UInt64
Value of the attribute
Remarks
The only attributes supporting an integer value are Alignment, StackAlignment, Dereferenceable, DereferenceableOrNull.
See Also