Re: [Dwarf-Discuss] EXTERNAL: Corner-cases with bitfields

2022-05-06 Thread Todd Allen via Dwarf-Discuss
> > Dear all, > > During our work on debugging support of compute workloads on AMDGPU[1], > we (at AMD) have been seeing two cases regarding description of > bitfields in DWARF for which we do not find definitive answers in the > DWARF documentation. For those cases, when experiencing with

Re: [Dwarf-Discuss] Corner-cases with bitfields

2022-05-06 Thread Michael Eager via Dwarf-Discuss
On 5/6/22 10:11, Lancelot SIX via Dwarf-Discuss wrote: Dear all, During our work on debugging support of compute workloads on AMDGPU[1], we (at AMD) have been seeing two cases regarding description of bitfields in DWARF for which we do not find definitive answers in the DWARF documentation.

[Dwarf-Discuss] Corner-cases with bitfields

2022-05-06 Thread Lancelot SIX via Dwarf-Discuss
Dear all, During our work on debugging support of compute workloads on AMDGPU[1], we (at AMD) have been seeing two cases regarding description of bitfields in DWARF for which we do not find definitive answers in the DWARF documentation. For those cases, when experiencing with usual CPU targets

Re: [Dwarf-Discuss] How to generate DWARF info for a template alias to a raw pointer

2022-05-06 Thread Robinson, Paul via Dwarf-Discuss
> Could someone help to point out what kind of DWARF info should > be generated for below c++ source? Thanks >  > ``` > template > using ptr = T*; >  > ptr  abc; > ``` >  > We declare a template alias here, so we may generate > `DW_TAG_template_type_parameter` like: >  > ``` > 0x0057:  

[Dwarf-Discuss] How to generate DWARF info for a template alias to a raw pointer

2022-05-06 Thread Zheng CZ Chen via Dwarf-Discuss
Hi all, Could someone help to point out what kind of DWARF info should be generated for below c++ source? Thanks ``` template using ptr = T*; ptr abc; ``` We declare a template alias here, so we may generate `DW_TAG_template_type_parameter` like: ``` 0x0057: DW_TAG_base_type