Edit

Share via


IDiaSymbol12::get_scalableRegisterType

Retrieves the scalable vector register type for the symbol. This property is part of the IDiaSymbol12 interface.

Syntax

HRESULT get_scalableRegisterType(
    DWORD *pRegisterType

Parameters

pRegisterType

[out] A pointer to a DWORD that receives the register type value.

Possible values correspond to scalable vector register kinds, such as SVE_Z or SVE_P.

Return Value

If successful, returns S_OK; otherwise, returns S_FALSE or an error code.

Note

A return value of S_FALSE means that the property isn't available for the symbol.

Remarks

This property is relevant for architectures that support scalable vector extensions (for example, ARM SVE).

If the symbol doesn't represent a scalable vector register, the method returns S_FALSE and pRegisterType isn't modified.

This property or method only returns a valid value for symbols where IDiaSymbol::get_baseType returns a BasicType of btVector.

To access this property, obtain an IDiaSymbol12 interface by calling QueryInterface on an existing IDiaSymbol or IDiaSymbol12 instance.

See also