On 28/08/14 13:36, Jiong Wang wrote: > I am curious about why "dwarf2out_frame_debug_expr" only handle > PRE/POST_MODIFY on dest > while no handling on src ? > > for example the following rule: > (set reg (mem_post_modify sp offset)) >
Probably because dwarf2out was originally written to handle just the prologue code; and in that case you would only get writes to the stack, not reads from it. R.