Re: unwind, x86, DW_CFA_GNU_args_size

2006-08-21 Thread Geoffrey Keating
On 18/08/2006, at 6:39 PM, Ian Lance Taylor wrote: Geoffrey Keating [EMAIL PROTECTED] writes: On 18/08/2006, at 5:42 PM, Ian Lance Taylor wrote: ... We could change CSA so that when it combines a prologue instruction with a non-prologue instruction it sets a new flag on the instruction,

unwind, x86, DW_CFA_GNU_args_size

2006-08-18 Thread Geoffrey Keating
Hi Alexandre, your patch, r112170 | aoliva | 2006-03-16 22:08:49 -0800 (Thu, 16 Mar 2006) | 4 lines * dwarf2out.c (dwarf2out_stack_adjust): Always track the stack pointer, instead of assuming it is possible to derive

Re: unwind, x86, DW_CFA_GNU_args_size

2006-08-18 Thread Ian Lance Taylor
Geoffrey Keating [EMAIL PROTECTED] writes: The problem is that the code ignores all instructions in the prologue. It happens, in eh1.C, that a stack adjustment (to enforce stack alignment) for the call is combined with a different stack adjustment (to allocate a local variable) in the

Re: unwind, x86, DW_CFA_GNU_args_size

2006-08-18 Thread Geoffrey Keating
On 18/08/2006, at 5:42 PM, Ian Lance Taylor wrote: ... We could change CSA so that when it combines a prologue instruction with a non-prologue instruction it sets a new flag on the instruction, and uses a table on the side to record the original values in the instruction. I guess that would

Re: unwind, x86, DW_CFA_GNU_args_size

2006-08-18 Thread Ian Lance Taylor
Geoffrey Keating [EMAIL PROTECTED] writes: On 18/08/2006, at 5:42 PM, Ian Lance Taylor wrote: ... We could change CSA so that when it combines a prologue instruction with a non-prologue instruction it sets a new flag on the instruction, and uses a table on the side to record the