[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 we

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

2022-05-09 Thread Lancelot SIX via Dwarf-Discuss
Hi, Thanks for the feedback. > > It sounds like your ABI is basing its decision on a boolean: is the field a > bit > field or not. And you're trying to deduce this from DW_AT_bit_offset. > Perhaps > a better solution would be to make this explicit in the DWARF, some new > DW_AT_bitfield flag

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

2022-05-09 Thread Lancelot SIX via Dwarf-Discuss
Hi, Thanks for the comments. I gave additional examples in another reply[1] which I think will help clarify the difficulty I am seeing. The core of the issue is that even if different types have identical memory layouts, they can be handled differently by our ABI. The DWARF description of such

Re: [Dwarf-discuss] Wiki list of vendor extensions.

2023-03-27 Thread Lancelot SIX via Dwarf-discuss
Hi, On Sat, Mar 25, 2023 at 11:24:41AM +0100, Mark Wielaard via Dwarf-discuss wrote: > Hi, > > On Fri, Mar 24, 2023 at 05:21:20PM -0700, David Anderson via Dwarf-discuss > wrote: > > On 3/24/23 13:56, Ben Woodard via Dwarf-discuss wrote: > > >Tangential to Scott's request, one of the requests fr