PATCH: PR other/48007: Unwind library doesn't work with UNITS_PER_WORD > sizeof (void *)

Ian Lance Taylor iant@google.com
Wed Mar 23 04:53:00 GMT 2011


"H.J. Lu" <hjl.tools@gmail.com> writes:

>> This suggests that, at least, when sizeof(_Unwind_Word) > sizeof(void*),
>> we need to extend _Unwind_Context with a new array at the end, and use
>> that new array when by_value[REG] is true.
>
> Will there be a case where 2 copies of unwind-dw2.c are within the same
> process?

Sure, that's easy.  I think what you are really asking is: will there be
a case where we could call functions from one copy and then pass the
context to the functions from a different copy.  I don't know the answer
to that, but it doesn't seem impossible.

Ian



More information about the Gcc-patches mailing list