[Dwarf-discuss] Proposal: Error: DW_OP_entry_value description and examples
Tue Aug 8 18:47:08 GMT 2023
On Tue, Aug 8, 2023 at 9:22 AM Metzger, Markus T via Dwarf-discuss <
> >### Section 18.104.22.168 Special Operations, p.37
> >The first sentence of the description of DW_OP_entry_value reads:
> > The DW_OP_entry_value operation pushes the value that the described
> > location held upon entering the current subprogram.
> >A DWARF expression does not describe a location, so this should read:
> > The DW_OP_entry_value operation evaluates an expression or register
> > location description as if it had been evaluated upon entering the
> > current subprogram, and pushes the value of the expression or content
> > of the register, respectively.
> Aren't register location descriptions the only thing that, given
> unwind rules, can actually be implemented?
> Should this be restricted to only allow register location descriptions?
There exist debuggers (e.g. Pernosco https://pernos.co/about/overview/)
that are capable of handling non-register location descriptions in the
past, so I would oppose any spec limitation on what DW_OP_entry_value can
> Intel Deutschland GmbH
> Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
> Tel: +49 89 99 8853-0, www.intel.de <http://www.intel.de>
> Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva
> Chairperson of the Supervisory Board: Nicole Lau
> Registered Office: Munich
> Commercial Register: Amtsgericht Muenchen HRB 186928
> Dwarf-discuss mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dwarf-discuss