[Dwarf-Discuss] how to find local variable stored in register

Robinson, Paul T NonStop paul.t.robinson@hp.com
Tue Feb 5 19:13:35 GMT 2008

Jim Blandy wrote:
>In the case of registers saved by the caller, I've never seen an ABI
>specify where the caller must save them.  In such a case, there's
>really no way for a consumer to find those variables while there are
>younger function calls in progress, so I would hope a DWARF producer
>would provide location lists to cover the call sites.

How do you unwind, if you don't know where the registers are saved?
Seems like this would have to be part of the ABI.

More information about the Dwarf-discuss mailing list