BitfieldMemberInfoFromDWARFTag Method

Creates an instance of BitfieldMemberInfo from the values of the DWARF attributes.

Definition

Namespace: VisualGDBExtensibility.LiveWatch
Assembly: VisualGDBExtensibility (in VisualGDBExtensibility.dll) Version: 5.6.109.1 (5.6.109.4849)
C#
public static BitfieldMemberInfo FromDWARFTag(
	bool isDWARF4Format,
	sbyte bitOffset,
	sbyte bitCount,
	int varSizeInBytes,
	ref int byteOffset
)

Parameters

isDWARF4Format  Boolean
True, if the values of other parameters were derived from DW_AT_data_bit_offset. False, if they were derived from DW_AT_bit_offset and DW_AT_bit_size
bitOffset  SByte
If isDWARF4Format is false, specifies the value of DW_AT_bit_offset. Otherwise, equals to DW_AT_data_bit_offset % 8.
bitCount  SByte
Specifies the value of DW_AT_bit_size
varSizeInBytes  Int32
byteOffset  Int32
If isDWARF4Format is false, specifies the value of DW_AT_data_member_location. Otherwise, equals to DW_AT_data_bit_offset / 8.

Return Value

BitfieldMemberInfo
A properly initialized instance of BitfieldMemberInfo

See Also