Re: [Dwarf-discuss] Representing captured `this` in C++ lambdas

2025-04-16 Thread Kyle Huey via Dwarf-discuss
On Wed, Apr 16, 2025 at 3:15 PM Cary Coutant wrote: > > Alternatively, what if DW_AT_object_pointer could also take a locdesc-class > with a location description? Then, in cases where 'this' is not a formal > parameter, it could provide a location description in the same manner as the > other c

Re: [Dwarf-discuss] Representing captured `this` in C++ lambdas

2025-04-16 Thread David Blaikie via Dwarf-discuss
On Wed, Apr 16, 2025 at 8:59 AM Kyle Huey via Dwarf-discuss < dwarf-discuss@lists.dwarfstd.org> wrote: > This may be more of an implementation question than a spec question, > but this seems like the place to have the discussion regardless. > > C++ debuggers that support expression evaluation need

[Dwarf-discuss] Representing captured `this` in C++ lambdas

2025-04-16 Thread Kyle Huey via Dwarf-discuss
This may be more of an implementation question than a spec question, but this seems like the place to have the discussion regardless. C++ debuggers that support expression evaluation need to identify the `this` pointer argument of member functions because C++ permits unqualified access to member v