Re: [debug-early] emit locals early patchset

2014-12-05 Thread Aldy Hernandez
On 10/28/14 10:28, Jason Merrill wrote: My apologies for the long delay. I was on PTO. > On 10/27/2014 08:00 PM, Aldy Hernandez wrote: 2. Changes to gen_variable_die() to handle multiple passes (early/late dwarf generation). A lot of this is complicated by the fact that old_die's are cached a

Re: [debug-early] emit locals early patchset

2014-11-11 Thread Jason Merrill
On 11/06/2014 02:05 PM, Richard Biener wrote: On Wed, Nov 5, 2014 at 5:06 PM, Martin Jambor wrote: In any case, if we want abstract origins to have this field set correctly in abstract origins, we need to have the possibility to modify it after IPA. My point is we don't need the abstract orig

Re: [debug-early] emit locals early patchset

2014-11-06 Thread Richard Biener
On Wed, Nov 5, 2014 at 5:06 PM, Martin Jambor wrote: > On Tue, Oct 28, 2014 at 03:57:43PM +0100, Richard Biener wrote: >> On Tue, Oct 28, 2014 at 1:00 AM, Aldy Hernandez wrote: >> > Gentlemen! >> > >> > My apologies for the big patch. In getting locals emitted early >> > (parameters >> > and lo

Re: [debug-early] emit locals early patchset

2014-11-05 Thread Martin Jambor
On Tue, Oct 28, 2014 at 03:57:43PM +0100, Richard Biener wrote: > On Tue, Oct 28, 2014 at 1:00 AM, Aldy Hernandez wrote: > > Gentlemen! > > > > My apologies for the big patch. In getting locals emitted early (parameters > > and locally scoped variables), I ran into many things which were in need

Re: [debug-early] emit locals early patchset

2014-10-28 Thread Aldy Hernandez
On 10/28/14 07:40, Michael Matz wrote: Hi, On Mon, 27 Oct 2014, Aldy Hernandez wrote: Here I use a new tree bit (BLOCK_DIE) to store the DIE<->block relationship. This will have to be adapted and streamed for LTO. You might consider using an on-the-side tree->hash map. Saves memory when not

Re: [debug-early] emit locals early patchset

2014-10-28 Thread Jason Merrill
On 10/27/2014 08:00 PM, Aldy Hernandez wrote: 2. Changes to gen_variable_die() to handle multiple passes (early/late dwarf generation). A lot of this is complicated by the fact that old_die's are cached and keyed by `tree', but an abstract instance and an inline instance share trees, while dwarf

Re: [debug-early] emit locals early patchset

2014-10-28 Thread Richard Biener
On Tue, Oct 28, 2014 at 1:00 AM, Aldy Hernandez wrote: > Gentlemen! > > My apologies for the big patch. In getting locals emitted early (parameters > and locally scoped variables), I ran into many things which were in need of > surgery, many of which couldn't happen without the other. Consequent

Re: [debug-early] emit locals early patchset

2014-10-28 Thread Michael Matz
Hi, On Mon, 27 Oct 2014, Aldy Hernandez wrote: > Here I use a new tree bit (BLOCK_DIE) to store the DIE<->block > relationship. This will have to be adapted and streamed for LTO. You might consider using an on-the-side tree->hash map. Saves memory when not generating debug info (there can be

[debug-early] emit locals early patchset

2014-10-27 Thread Aldy Hernandez
Gentlemen! My apologies for the big patch. In getting locals emitted early (parameters and locally scoped variables), I ran into many things which were in need of surgery, many of which couldn't happen without the other. Consequently, I ended up fixing everything such that we are now back t