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

Jakub Jelinek jakub at redhat.com
Tue Sep 22 05:05:27 PDT 2009


Hi!

Can DW_OP_call{2,4} refer to DIEs with DW_AT_location containing
DW_OP_{stack,implicit}_value or DW_OP_piece/DW_OP_bit_piece/DW_OP_reg*,
or is that ruled out by the requirement that DW_OP_piece,
DW_OP_implicit_value and DW_OP_bit_piece must be only at the top level
and the DW_OP_call{2,4} subexpression boundary isn't supposed to matter
there?  Is it only valid if it isn't followed by anything else?

Also, can DW_OP_call{2,4} refer to DW_AT_location with loclist?  If yes,
shall it just look up the expression for the current code location in there?

	Jakub



More information about the Dwarf-Discuss mailing list