Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
generator-objects DWARF
0x00000189: DW_TAG_structure_type
DW_AT_name ("generator")
DW_AT_byte_size (0x18)
DW_AT_alignment (8)
0x00000190: DW_TAG_member
DW_AT_name ("__0")
DW_AT_type (0x00000246 "&mut i32")
DW_AT_alignment (8)
DW_AT_data_member_location (0x00)
0x0000019b: DW_TAG_variant_part
DW_AT_discr (0x000001a0)
0x000001a0: DW_TAG_member
DW_AT_name ("__state")
DW_AT_type (0x0000024f "u32")
DW_AT_alignment (4)
DW_AT_data_member_location (0x08)
DW_AT_artificial (true)
0x000001ab: DW_TAG_variant
DW_AT_discr_value (0x00)
0x000001ad: DW_TAG_member
DW_AT_name ("0")
DW_AT_type (0x000001f2 "Unresumed")
DW_AT_alignment (8)
DW_AT_data_member_location (0x00)
0x000001b8: NULL
0x000001b9: DW_TAG_variant
DW_AT_discr_value (0x01)
0x000001bb: DW_TAG_member
DW_AT_name ("1")
DW_AT_type (0x000001f9 "Returned")
DW_AT_alignment (8)
DW_AT_data_member_location (0x00)
0x000001c6: NULL
0x000001c7: DW_TAG_variant
DW_AT_discr_value (0x02)
0x000001c9: DW_TAG_member
DW_AT_name ("2")
DW_AT_type (0x00000200 "Panicked")
DW_AT_alignment (8)
DW_AT_data_member_location (0x00)
0x000001d4: NULL
0x000001d5: DW_TAG_variant
DW_AT_discr_value (0x03)
0x000001d7: DW_TAG_member
DW_AT_name ("3")
DW_AT_type (0x00000207 "variant#3")
DW_AT_alignment (8)
DW_AT_data_member_location (0x00)
0x000001e2: NULL
0x000001e3: DW_TAG_variant
DW_AT_discr_value (0x04)
0x000001e5: DW_TAG_member
DW_AT_name ("4")
DW_AT_type (0x00000225 "variant#4")
DW_AT_alignment (8)
DW_AT_data_member_location (0x00)
0x000001f0: NULL
0x000001f1: NULL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment