[Dwarf-Discuss] DW_OP_{stack, implicit}_value and DW_OP_call{2, 4}

Roland McGrath roland@redhat.com
Tue Sep 22 19:07:19 GMT 2009


The spec for DW_OP_call* refers to "evaluation of a DWARF expression".
I take that to mean that the target DIE's DW_AT_location value should
be a DWARF expression, rather than a location description.  That means
that the 1.12 operations are not part of the defined set in that context,
and that a location list does not make sense.

But I'm not at all sure it's entirely clear.  Even if it is, we can
consider changing these rules if it is useful to do so.


Thanks,
Roland






More information about the Dwarf-discuss mailing list