Skip to content

Support gcc gdwarf symbols for arrays #25

Description

@dotjulia

Support DW_AT_upper_bound for arrays
gcc:

0x000003de:   DW_TAG_array_type
                DW_AT_type	(0x000000a2 "char")

0x000003e3:     DW_TAG_subrange_type
                  DW_AT_type	(0x00000039 "long unsigned int")
                  DW_AT_upper_bound	(0x63)

0x000003e9:     NULL

clang (supported):

0x0000012a:   DW_TAG_array_type
                DW_AT_type	(0x00000047 "char")

0x0000012f:     DW_TAG_subrange_type
                  DW_AT_type	(0x0000004e "__ARRAY_SIZE_TYPE__")
                  DW_AT_count	(0x64)

0x00000135:     NULL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    • Status
      Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions