Re: [PATCH] PR debug/81570: dwarf2cfi.c: Update cfa.offset in create_pseudo_cfg

2017-11-02 Thread Jason Merrill
On Tue, Oct 31, 2017 at 1:57 PM, H.J. Lu wrote: > On Tue, Oct 24, 2017 at 8:26 PM, Jason Merrill wrote: >> On Thu, Jul 27, 2017 at 3:50 PM, H.J. Lu wrote: >>> execute_dwarf2_frame is called for each funtion. But create_cie_data >>> is called only once to initialize cie_cfi_row for all functions

Re: [PATCH] PR debug/81570: dwarf2cfi.c: Update cfa.offset in create_pseudo_cfg

2017-10-31 Thread H.J. Lu
On Tue, Oct 24, 2017 at 8:26 PM, Jason Merrill wrote: > On Thu, Jul 27, 2017 at 3:50 PM, H.J. Lu wrote: >> execute_dwarf2_frame is called for each funtion. But create_cie_data >> is called only once to initialize cie_cfi_row for all functions. Since >> INCOMING_FRAME_SP_OFFSET may be different

Re: [PATCH] PR debug/81570: dwarf2cfi.c: Update cfa.offset in create_pseudo_cfg

2017-10-24 Thread Jason Merrill
On Thu, Jul 27, 2017 at 3:50 PM, H.J. Lu wrote: > execute_dwarf2_frame is called for each funtion. But create_cie_data > is called only once to initialize cie_cfi_row for all functions. Since > INCOMING_FRAME_SP_OFFSET may be different for each function, we can't > use the same INCOMING_FRAME_SP