[flang-commits] [flang] [flang][debug] Support fir.vector type. (PR #112951)

Abid Qadeer via flang-commits flang-commits at lists.llvm.org
Wed Oct 23 05:43:17 PDT 2024


abidh wrote:

> With `!fir.vector<4:i32>`, `ptype` or `whatis` in gdb gives `type = integer (4)`. I am wondering if we can give a more accurate name to the type, say "vector integer (4)". It is in fact a vector of integer(4). Maybe something like:
> 
> ```
>  <1><64>: Abbrev Number: 4 (DW_TAG_array_type)
>     <65>   DW_AT_sibling     : 0x82
>     <6d>   DW_AT_name        : (indirect string, offset: 0x61): vector integer (4)
>     <75>   DW_AT_type        : 0x59
>     <7d>   DW_AT_GNU_vector  : 1
> ```

I have updated the name of the type as suggested.

https://github.com/llvm/llvm-project/pull/112951


More information about the flang-commits mailing list