Re: [Dwarf-discuss] Proposal: Add support for "property" with getter/setter (based on Pascal properties)

2024-10-12 Thread Adrian Prantl via Dwarf-discuss
Please find attached a revised proposal based on feedback from this thread. -- adrian # Proposal to implement "properties" (based on Pascal) ## Background Pascal has a property construct, that allows a "variable like" identifier, which can either point to a field (member variable) or a getter/s

Re: [Dwarf-discuss] Proposal: Add support for "property" with getter/setter (based on Pascal properties)

2024-10-12 Thread Adrian Prantl via Dwarf-discuss
> On Oct 10, 2024, at 9:31 AM, Todd Allen via Dwarf-discuss > wrote: > > Adrian, > > This usage of DW_AT_specification seems very different from other uses > of DW_AT_specification, where it's indicating that the current DIE is a > completion of a forward declaration at the referenced DIE.

Re: [Dwarf-discuss] Proposal: Add support for "property" with getter/setter (based on Pascal properties)

2024-10-12 Thread Adrian Prantl via Dwarf-discuss
On Sep 30, 2024, at 1:39 PM, Martin wrote: > > On 30/09/2024 19:30, Adrian Prantl wrote: >> PS: One thing I left out is DW_AT_Property_Object. It wasn't clear to me why >> this wouldn't always be the address of the parent object of the >> DW_TAG_property. > > There is a construct where a prope