Re: RFC: implement DW_OP_bit_piece

Tom Tromey
2010-05-21T21:16:46Z

>>>>> "Stan" == Stan Shebs <stanshebs@earthlink.net> writes:

Stan> Which rewrite is that? I can see switching to opcode disassembly for
Stan> heinously-complicated location expressions, but multiple pieces and
Stan> reg/offset seem reasonable to describe verbally - if nothing else, it
Stan> conveys to the user that a local has a nontrivial liveness range and
Stan> lives in different places at different times, so the user needs to be
Stan> cautious when a register or stack location seems to have a wrong value
Stan> in it.

Yeah. What I was planning was something like: if a given piece is
simple to describe in plain English, do so; else, disassemble.

Tom