Re: [PATCH 5/7] Add a proxy unwinder.

Sanjoy Das
2011-08-20T06:26:28Z

>
> I'm curious why you approached it this way.
>

It seemed to me that it'll make writing a reader easier, turning

if (reg == RAX) {
/* Calculate and set RAX */
} else if (reg == RBX) {
/* Set `undefined' */
} /* ... and so on, for every register */

into

/* Calculate and set RAX */
/* Calculate and set RSP */
/* ... */
/* (No need to bother about the rest of the register file) */

--
Sanjoy Das