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

Kelvin Li via flang-commits flang-commits at lists.llvm.org
Mon Oct 21 10:44:00 PDT 2024


kkwli 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
```

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


More information about the flang-commits mailing list