[Dwarf-discuss] Proposal: Error: DW_OP_entry_value description and examples

Metzger, Markus T markus.t.metzger@intel.com
Tue Aug 8 16:21:57 GMT 2023

>### Section 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 appropriate
unwind rules, can actually be implemented?

Should this be restricted to only allow register location descriptions?

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

More information about the Dwarf-discuss mailing list